IPipelineObject

Description

interface Tinman.AddOns.DirectX12.Pipeline.IPipelineObject

Derived from

IResource

Extended by

IPipelineRenderTarget

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

Base interface for GPU resources that interact with the RenderPipeline.

Public / Methods

Descriptor​Zero


public method DescriptorZero → (1)

index opt : int32 = 0

[0..IPipelineObject.Descriptors-1]
The descriptor handle index.

returns → IntPtr

The CPU descriptor handle or IntPtr.Zero iff the descriptor is not used by the pipeline object (e.g. an optional depth/stencil view) .

Returns a CPU descriptor handle for this pipeline object.

The meaning of descriptor handle indices is defined by the implementing class.

Public / Attributes

Descriptors


public attribute Descriptors → (get)

value : int32

[>=0]
The number of CPU descriptor handles.

Returns the number of CPU descriptor handles.

Fence


public attribute Fence → (get)

value : PipelineFence

[not-null]
The fence object.

The GPU fence of this pipeline object.

Extensions

Descriptor


public static method Descriptor → (1)

index opt : int32 = 0

[0..pipelineObject.Descriptors-1]
The descriptor handle index.

returns → IntPtr

The CPU descriptor handle; will never be IntPtr.Zero.

Returns a CPU descriptor handle for this pipeline object.

The meaning of descriptor handle indices is defined by the implementing class.