Vixen
02b45cc4
csharp
public abstract class GpuBuffer

A GPU buffer.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A marker a backend subclasses to hold whatever it needs, and the type Handle`1 is generic over — so a BufferHandle cannot be passed where a TextureHandle is wanted. Instances live in a backend-owned table and are reached only through handles, which is what keeps GPU objects out of the garbage collector's way.

Methods (1)

  • protected GpuBuffer()

    Only a backend derives from this.

Used by (9)

  • BufferHandleVixen.Graphics
  • GlBufferVixen.Graphics.OpenGL
  • GlDeviceVixen.Graphics.OpenGL
  • NullBufferVixen.Graphics.Null
  • NullDeviceVixen.Graphics.Null
  • VulkanBufferVixen.Graphics.Vulkan
  • VulkanDeviceVixen.Graphics.Vulkan
  • WebGpuBufferVixen.Graphics.WebGPU
  • WebGpuDeviceVixen.Graphics.WebGPU