class SMAA {
Public:
The class ExternalStorage;
Enum Mode {MODE_SMAA_1X, MODE_SMAA_T2X MODE_SMAA_S2X, MODE_SMAA_4X};
Enum Preset {PRESET_LOW, PRESET_MEDIUM PRESET_HIGH, PRESET_ULTRA, PRESET_CUSTOM};
Enum Input {INPUT_LUMA, INPUT_COLOR INPUT_DEPTH};
/* *
* By default, two render targets will be created for storing
* intermediate calculations. If you have spare render targets,
* search for @ EXTERNAL_STORAGE.
*/
SMAA (ID3D10Device * device, int width, int height,
Preset Preset=PRESET_HIGH, bool predication=false, bool reprojection=false,
Const ExternalStorage & amp; Storage=ExternalStorage ());//here is the dislocation
~ SMAA ();
The class ExternalStorage {
Public:
ExternalStorage (ID3D10ShaderResourceView * edgesSRV=NULL,
ID3D10RenderTargetView * edgesRTV=NULL,
ID3D10ShaderResourceView * weightsSRV=NULL,
ID3D10RenderTargetView * weightsRTV=NULL)
: edgesSRV (edgesSRV),
EdgesRTV (edgesRTV),
WeightsSRV (weightsSRV),
WeightsRTV (weightsRTV) {}
EdgesSRV ID3D10ShaderResourceView * and * weightsSRV;
EdgesRTV ID3D10RenderTargetView * and * weightsRTV;
};
CodePudding user response:
To solve the problem for add 50 cent don't have to question the , the head is baldCodePudding user response:
Compile environment as win10 vs2015CodePudding user response:
You do not implement the default constructorSo you can't
Myclass * m1;
M1=new myclass
CodePudding user response:
After I reconstructed the default constructor , will be an error, without proper default constructor is availableCodePudding user response: