wrapFence function

GpuFence wrapFence({
  1. required Object backend,
  2. GraphicsDevice? owner,
})

A GpuFence over a backend's own backend fence, for a backend; see wrapStorageBuffer.

Implementation

GpuFence wrapFence({required Object backend, GraphicsDevice? owner}) =>
    GpuFence._(owner?.releaseFence, backend: backend);