D3D10_EFFECT_DESC structure (d3d10effect.h)
Describes an effect.
Syntax
typedef struct _D3D10_EFFECT_DESC {
BOOL IsChildEffect;
UINT ConstantBuffers;
UINT SharedConstantBuffers;
UINT GlobalVariables;
UINT SharedGlobalVariables;
UINT Techniques;
} D3D10_EFFECT_DESC;
Members
IsChildEffect
Type: BOOL
TRUE if the effect is a child effect; otherwise FALSE.
ConstantBuffers
Type: UINT
The number of constant buffers.
SharedConstantBuffers
Type: UINT
The number of constant buffers shared in an effect pool.
GlobalVariables
Type: UINT
The number of global variables.
SharedGlobalVariables
Type: UINT
The number of global variables shared in an effect pool.
Techniques
Type: UINT
The number of techniques.
Remarks
To get an effect description, call ID3D10Effect::GetDesc.
Requirements
Requirement | Value |
---|---|
Header | d3d10effect.h (include D3D10.h) |