ID3D11ShaderReflectionVariable interface

This shader-reflection interface provides access to a variable.

Methods

The ID3D11ShaderReflectionVariable interface has these methods.

Method Description
ID3D11ShaderReflectionVariable::GetBuffer This method returns the buffer of the current ID3D11ShaderReflectionVariable.
ID3D11ShaderReflectionVariable::GetDesc Get a shader-variable description.
ID3D11ShaderReflectionVariable::GetInterfaceSlot Gets the corresponding interface slot for a variable that represents an interface pointer.
ID3D11ShaderReflectionVariable::GetType Get a shader-variable type.

Remarks

To get a shader-reflection-variable interface, call a method like ID3D11ShaderReflection::GetVariableByName. This isn't a COM interface, so you don't need to worry about reference counts or releasing the interface when you're done with it.

Requirements

   
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11shader.h

See Also

Shader Interfaces