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.

ID3D11ModuleInstance interface

A module-instance interface is used for resource rebinding.

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 ID3D11ModuleInstance interface inherits from the IUnknown interface. ID3D11ModuleInstance also has these types of members:

Methods

The ID3D11ModuleInstance interface has these methods.

MethodDescription
BindConstantBuffer

Rebinds a constant buffer from a source slot to a destination slot.

BindConstantBufferByName

Rebinds a constant buffer by name to a destination slot.

BindResource

Rebinds a texture or buffer from source slot to destination slot.

BindResourceAsUnorderedAccessView

Rebinds a resource as an unordered access view (UAV) from source slot to destination slot.

BindResourceAsUnorderedAccessViewByName

Rebinds a resource by name as an unordered access view (UAV) to destination slots.

BindResourceByName

Rebinds a texture or buffer by name to destination slots.

BindSampler

Rebinds a sampler from source slot to destination slot.

BindSamplerByName

Rebinds a sampler by name to destination slots.

BindUnorderedAccessView

Rebinds an unordered access view (UAV) from source slot to destination slot.

BindUnorderedAccessViewByName

Rebinds an unordered access view (UAV) by name to destination slots.

 

Remarks

To get a module-instance interface, call ID3D11Module::CreateInstance or ID3D11FunctionLinkingGraph::CreateModuleInstance.

Note  ID3D11ModuleInstance 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

 

 

Community Additions

Show:
© 2014 Microsoft