Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11ShaderReflectionType interface

This shader-reflection interface provides access to variable type.

Members

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

Methods

The ID3D11ShaderReflectionType interface has these methods.

MethodDescription
GetBaseClass

Gets an ID3D11ShaderReflectionType Interface interface containing the variable base class type.

GetDesc

Get the description of a shader-reflection-variable type.

GetInterfaceByIndex

Get an interface by index.

GetMemberTypeByIndex

Get a shader-reflection-variable type by index.

GetMemberTypeByName

Get a shader-reflection-variable type by name.

GetMemberTypeName

Get a shader-reflection-variable type.

GetNumInterfaces

Gets the number of interfaces.

GetSubType

Gets the base class of a class.

ImplementsInterface

Indicates whether a class type implements an interface.

IsEqual

Indicates whether two ID3D11ShaderReflectionType Interface pointers have the same underlying type.

IsOfType

Indicates whether a variable is of the specified type.

 

Remarks

The get a shader-reflection-type interface, call ID3D11ShaderReflectionVariable::GetType. 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:
© 2017 Microsoft