Skip to content

Latest commit

 

History

History
107 lines (78 loc) · 3.34 KB

ns-d3d12shader-d3d12_shader_input_bind_desc.md

File metadata and controls

107 lines (78 loc) · 3.34 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
NS:d3d12shader._D3D12_SHADER_INPUT_BIND_DESC
D3D12_SHADER_INPUT_BIND_DESC (d3d12shader.h)
Describes how a shader resource is bound to a shader input. (D3D12_SHADER_INPUT_BIND_DESC)
D3D12_SHADER_INPUT_BIND_DESC
D3D12_SHADER_INPUT_BIND_DESC structure
d3d12shader/D3D12_SHADER_INPUT_BIND_DESC
direct3d12.d3d12_shader_input_bind_desc
direct3d12\d3d12_shader_input_bind_desc.htm
direct3d12
4179C417-388D-4A20-8878-D074E20A706F
12/05/2018
D3D12_SHADER_INPUT_BIND_DESC, D3D12_SHADER_INPUT_BIND_DESC structure, d3d12shader/D3D12_SHADER_INPUT_BIND_DESC, direct3d12.d3d12_shader_input_bind_desc
d3d12shader.h
Windows
Windows
D3D12_SHADER_INPUT_BIND_DESC
19H1
_D3D12_SHADER_INPUT_BIND_DESC
d3d12shader/_D3D12_SHADER_INPUT_BIND_DESC
D3D12_SHADER_INPUT_BIND_DESC
d3d12shader/D3D12_SHADER_INPUT_BIND_DESC
c++
APIRef
kbSyntax
HeaderDef
d3d12shader.h
D3D12_SHADER_INPUT_BIND_DESC

D3D12_SHADER_INPUT_BIND_DESC structure

-description

Describes how a shader resource is bound to a shader input.

-struct-fields

-field Name

Name of the shader resource.

-field Type

A D3D_SHADER_INPUT_TYPE-typed value that identifies the type of data in the resource.

-field BindPoint

Starting bind point.

-field BindCount

Number of contiguous bind points for arrays.

-field uFlags

A combination of D3D_SHADER_INPUT_FLAGS-typed values for shader input-parameter options.

-field ReturnType

If the input is a texture, the D3D_RESOURCE_RETURN_TYPE-typed value that identifies the return type.

-field Dimension

A D3D_SRV_DIMENSION-typed value that identifies the dimensions of the bound resource.

-field NumSamples

The number of samples for a multisampled texture; when a texture isn't multisampled, the value is set to -1 (0xFFFFFFFF). This is zero if the shader resource is not a recognized texture. If the shader resource is a structured buffer, the field contains the stride of the type in bytes.

-field Space

The register space.

-field uID

The range ID in the bytecode.

-remarks

Get a shader-input-signature description by calling ID3D12ShaderReflection::GetResourceBindingDesc or ID3D12ShaderReflection::GetResourceBindingDescByName.

-see-also

Shader Structures