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.

ID3D11FunctionReflection interface

A function-reflection interface accesses function info.

Note  This interface is part of the HLSL shader linking technology that you can use on all Direct3D 11 platforms to create precompiled HLSL functions, package them into libraries, and link them into full shaders at run time.
 

Members

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

Methods

The ID3D11FunctionReflection interface has these methods.

MethodDescription
GetConstantBufferByIndex

Gets a constant buffer by index for a function.

GetConstantBufferByName

Gets a constant buffer by name for a function.

GetDesc

Fills the function descriptor structure for the function.

GetFunctionParameter

Gets the function parameter reflector.

GetResourceBindingDesc

Gets a description of how a resource is bound to a function.

GetResourceBindingDescByName

Gets a description of how a resource is bound to a function.

GetVariableByName

Gets a variable by name.

 

Remarks

To get a function-reflection interface, call ID3D11LibraryReflection::GetFunctionByIndex. 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.

Note  ID3D11FunctionReflection requires the D3dcompiler_47.dll or a later version of the DLL.
 

Requirements

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

Shader Interfaces

 

 

Show:
© 2018 Microsoft