ID3D11ShaderReflectionVariable interface

This shader-reflection interface provides access to a variable.

Members

The ID3D11ShaderReflectionVariable interface inherits from the IUnknown interface. ID3D11ShaderReflectionVariable also has these types of members:

Methods

The ID3D11ShaderReflectionVariable interface has these methods.

MethodDescription
GetBuffer

This method returns the buffer of the current ID3D11ShaderReflectionVariable.

GetDesc

Get a shader-variable description.

GetInterfaceSlot

Gets the corresponding interface slot for a variable that represents an interface pointer.

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

Shader Interfaces

 

 

Show: