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

Pipeline​Fence


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.

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.