PipelineFence

Description

sealed class Tinman.AddOns.DirectX12.Pipeline.PipelineFence

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

A fence for a RenderPipeline.

Public / Constructors

PipelineFence


public constructor PipelineFence → (1)

pipeline in : RenderPipeline

[not-null]
The pipeline object.

Creates a new instance of PipelineFence.

Public / Methods

Set


public method Set → ()

Sets the fence value to the amount of work that as has been accumulated in the render pipeline.

Used


public method Used → ()

returns → bool

true if the GPU has reached the fence value, false if not.

Checks if the GPU has already reached the most recent fence value.

Wait


public method Wait → ()

Waits until the GPU has reached the most recent fence value.

Usually, this method is called when disposing objects that wrap GPU resources.