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.

ID3D11ShaderReflectionConstantBuffer interface

This shader-reflection interface provides access to a constant buffer.

Members

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

Methods

The ID3D11ShaderReflectionConstantBuffer interface has these methods.

MethodDescription
GetDesc

Get a constant-buffer description.

GetVariableByIndex

Get a shader-reflection variable by index.

GetVariableByName

Get a shader-reflection variable by name.

 

Remarks

To create a constant-buffer interface, call ID3D11ShaderReflection::GetConstantBufferByIndex or ID3D11ShaderReflection::GetConstantBufferByName. 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