ID3D11ShaderReflectionVariable interface (d3d11shader.h)

This shader-reflection interface provides access to a variable.

Methods

The ID3D11ShaderReflectionVariable interface has these methods.

 
ID3D11ShaderReflectionVariable::GetBuffer

This method returns the buffer of the current ID3D11ShaderReflectionVariable.
ID3D11ShaderReflectionVariable::GetDesc

Get a shader-variable description. (ID3D11ShaderReflectionVariable.GetDesc)
ID3D11ShaderReflectionVariable::GetInterfaceSlot

Gets the corresponding interface slot for a variable that represents an interface pointer. (ID3D11ShaderReflectionVariable.GetInterfaceSlot)
ID3D11ShaderReflectionVariable::GetType

Get a shader-variable type. (ID3D11ShaderReflectionVariable.GetType)

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

Requirement Value
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