Struct GpuSync
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A point in GPU work that the other side waits for before using a texture.
public readonly record struct GpuSync : IEquatable<GpuSync>
- Implements
- Inherited Members
Remarks
See mln_gpu_sync in the C API reference.
Constructors
GpuSync(GpuSyncKind, ulong, ulong)
A point in GPU work that the other side waits for before using a texture.
public GpuSync(GpuSyncKind Kind, ulong Handle, ulong Value)
Parameters
KindGpuSyncKindHandleulongThe object to wait on, for the kinds that name one.
Valueulong
Remarks
See mln_gpu_sync in the C API reference.
Properties
Handle
The object to wait on, for the kinds that name one.
public ulong Handle { get; init; }
Property Value
Kind
public GpuSyncKind Kind { get; init; }
Property Value
Value
public ulong Value { get; init; }