D3DX11_PASS_SHADER_DESC structure
Describes an effect pass.
Syntax
typedef struct _D3DX11_PASS_SHADER_DESC {
ID3DX11EffectShaderVariable *pShaderVariable;
UINT ShaderIndex;
} D3DX11_PASS_SHADER_DESC;
Members
-
pShaderVariable
-
Type: ID3DX11EffectShaderVariable*
-
The variable that this shader came from.
-
ShaderIndex
-
Type: UINT
-
The element of pShaderVariable (if an array) or 0 if not applicable.
Remarks
D3DX11_PASS_SHADER_DESC is used with ID3DX11EffectPass Get*ShaderDesc methods.
If this is an inline shader assignment, the returned interface will be an anonymous shader variable, which is not retrievable any other way. It's name in the variable description will be "$Anonymous". If there is no assignment of this type in the pass block, pShaderVariable != NULL, but pShaderVariable->IsValid() == FALSE.
Requirements
Requirement | Value |
---|---|
Header |
|