D3DX11_EFFECT_VARIABLE_DESC structure
Describes an effect variable.
Syntax
typedef struct _D3DX11_EFFECT_VARIABLE_DESC {
LPCSTR Name;
LPCSTR Semantic;
UINT Flags;
UINT Annotations;
UINT BufferOffset;
UINT ExplicitBindPoint;
} D3DX11_EFFECT_VARIABLE_DESC;
Members
-
Name
-
Type: LPCSTR
-
Name of this variable, annotation, or structure member.
-
Semantic
-
Type: LPCSTR
-
Semantic string of this variable or structure member (NULL for annotations or if not present).
-
Flags
-
Type: UINT
-
Optional flags for effect variables.
-
Annotations
-
Type: UINT
-
Number of annotations on this variable (always 0 for annotations).
-
BufferOffset
-
Type: UINT
-
Offset into containing cbuffer or tbuffer (always 0 for annotations or variables not in constant buffers).
-
ExplicitBindPoint
-
Type: UINT
-
Used if the variable has been explicitly bound using the register keyword. Check Flags for D3DX11_EFFECT_VARIABLE_EXPLICIT_BIND_POINT.
Remarks
D3DX11_EFFECT_VARIABLE_DESC is used with ID3DX11EffectVariable::GetDesc.
Requirements
Requirement | Value |
---|---|
Header |
|