?/TD> |
Microsoft DirectX 9.0 |
These are shader and effect constants.
#define | Description |
---|---|
D3DX_PARAMETER_SHARED | The value of a parameter will be shared by all effects in the same namespace. Changing the value in one effect will change it in all shared effects. See Sharing Parameters. |
D3DX_PARAMETER_LITERAL | This parameter is marked as a literal value. Literal parameters cannot change after compile, allowing the compiler to optimize their usage. Shared parameters cannot be marked as a literal. See Usages and Literals. |
D3DX_PARAMETER_ANNOTATION | This parameter is marked as an annotation. See Annotations. |
D3DX_PARAMETER_SHARED cannot be combined with LITERAL or ANNOTATION.
Effect parameter constants are used by D3DXPARAMETER_DESC.
Effects use handles to reference techniques, passes, annotations, and parameters.
typedef | LPCSTR | D3DXHANDLE |
For more information, see Handles.
#define | Description |
---|---|
D3DXFX_DONOTSAVESTATE | Device state is not saved when calling ID3DXEffect::Begin or restored when calling ID3DXEffect::End. |
D3DXFX_DONOTSAVESHADERSTATE | Shader state is not saved when calling ID3DXEffect::Begin or restored when calling ID3DXEffect::End. |