D3DXPARAMETER_DESC
Describes a parameter used for an effect object.
typedef struct D3DXPARAMETER_DESC {
LPCSTR Name;
LPCSTR Semantic;
D3DXPARAMETER_CLASS Class;
D3DXPARAMETER_TYPE Type;
UINT Rows;
UINT Columns;
UINT Elements;
UINT Annotations;
UINT StructMembers;
DWORD Flags;
UINT Bytes;
} D3DXPARAMETER_DESC, *LPD3DXPARAMETER_DESC;
Members
- Name
- Name of the parameter.
- Semantic
- Semantic meaning, also called the usage.
- Class
- Parameter class. Set this to one of the values in D3DXPARAMETER_CLASS.
- Type
- Parameter type. Set this to one of the values in D3DXPARAMETER_TYPE.
- Rows
- Number of rows in the array.
- Columns
- Number of columns in the array.
- Elements
- Number of elements in the array.
- Annotations
- Number of annotations.
- StructMembers
- Number of structure members.
- Flags
- Parameter attributes. See Constants.
- Bytes
- The size of the parameter, in bytes.