ShaderSlot

Description

struct Tinman.AddOns.DirectX12.Pipeline.ShaderSlot

Full source code is included in the Tinman 3D SDK download.

Represents a resource slot of a shader.

Public / Constructors

Shader​Slot


public constructor ShaderSlot → (4)

bindingType in : int32

See BindingType.

bindingSlot in : int32

See BindingSlot.

component in : int32

See Component.

shaderType in : int32

See ShaderType.

Creates a new instance of ShaderSlot.

Public / Methods

Collect


public method Collect → (1)

list in : IVector<ShaderSlot>

[not-null]
The list.

Adds this root signature slot to the given list, if it does not already contain an equal element.

Public / Attributes

Binding​Slot


public readonly attribute BindingSlot → (int32)

The shader binding slot index (e.g. 2 for cb2).

Binding​Type


public readonly attribute BindingType → (int32)

The shader binding slot type:
0 : cb? (constant buffer)
1 : s? (sampler)
2 : t? (shader resource)
3 : u? (unordered access resource)

Component


public readonly attribute Component → (int32)

The render effect component.

Shader​Type


public readonly attribute ShaderType → (int32)

The shader type that is accessing this slot:
0 : Amplification
1 : Compute
2 : Domain
3 : Geometry
4 : Hull
5 : Mesh
6 : Pixel
7 : Vertex