This topic has not yet been rated - Rate this topic

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 is not a COM interface; therefore, you do not need to worry about reference counts or releasing the interface when you are 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 or D3DCompiler_xx.dll

See also

Shader Interfaces

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.