Table of Contents

Class Fence

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

A synchronization primitive which allows the GPU to communicate when submitted work items have finished executing.

public abstract class Fence : DeviceResource, IDisposable
Inheritance
Fence
Implements
Inherited Members

Properties

IsDisposed

A bool indicating whether this instance has been disposed.

public abstract bool IsDisposed { get; }

Property Value

bool

Name

A string identifying this instance. Can be used to differentiate between objects in graphics debuggers and other tools.

public abstract string Name { get; set; }

Property Value

string

Signaled

Gets a value indicating whether the Fence is currently signaled. A Fence is signaled after a CommandList finishes execution after it was submitted with a Fence instance.

public abstract bool Signaled { get; }

Property Value

bool

Methods

Dispose()

Frees unmanaged device resources controlled by this instance.

public abstract void Dispose()

Reset()

Sets this instance to the unsignaled state.

public abstract void Reset()