Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 3.22 KB

nf-d3d12shader-id3d12shaderreflection-getresourcebindingdesc.md

File metadata and controls

84 lines (64 loc) · 3.22 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d12shader.ID3D12ShaderReflection.GetResourceBindingDesc
ID3D12ShaderReflection::GetResourceBindingDesc (d3d12shader.h)
Gets a description of how a resource is bound to a shader. (ID3D12ShaderReflection.GetResourceBindingDesc)
GetResourceBindingDesc
GetResourceBindingDesc method
GetResourceBindingDesc method
ID3D12ShaderReflection interface
ID3D12ShaderReflection interface
GetResourceBindingDesc method
ID3D12ShaderReflection.GetResourceBindingDesc
ID3D12ShaderReflection::GetResourceBindingDesc
d3d12shader/ID3D12ShaderReflection::GetResourceBindingDesc
direct3d12.id3d12shaderreflection_getresourcebindingdesc
direct3d12\id3d12shaderreflection_getresourcebindingdesc.htm
direct3d12
3E9A168D-CD9E-4256-9E0B-19B9295E511E
12/05/2018
GetResourceBindingDesc, GetResourceBindingDesc method, GetResourceBindingDesc method,ID3D12ShaderReflection interface, ID3D12ShaderReflection interface,GetResourceBindingDesc method, ID3D12ShaderReflection.GetResourceBindingDesc, ID3D12ShaderReflection::GetResourceBindingDesc, d3d12shader/ID3D12ShaderReflection::GetResourceBindingDesc, direct3d12.id3d12shaderreflection_getresourcebindingdesc
d3d12shader.h
Windows
Windows
19H1
ID3D12ShaderReflection::GetResourceBindingDesc
d3d12shader/ID3D12ShaderReflection::GetResourceBindingDesc
c++
APIRef
kbSyntax
COM
d3d12shader.h
ID3D12ShaderReflection.GetResourceBindingDesc

ID3D12ShaderReflection::GetResourceBindingDesc

-description

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

-parameters

-param ResourceIndex [in]

Type: UINT

A zero-based resource index.

-param pDesc [out]

Type: D3D12_SHADER_INPUT_BIND_DESC*

A pointer to an input-binding description. See D3D12_SHADER_INPUT_BIND_DESC.

-returns

Type: HRESULT

Returns one of the Direct3D 12 Return Codes.

-remarks

A shader consists of executable code (the compiled HLSL functions) and a set of resources that supply the shader with input data. GetResourceBindingDesc gets information about how one resource in the set is bound as an input to the shader. The ResourceIndex parameter specifies the index for the resource.

This method's interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.

-see-also

ID3D12ShaderReflection