Vixen
02b45cc4
csharp
public enum BufferUsage

What a buffer is for.

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

Remarks

Flags, because a buffer is often several things — a vertex buffer that compute also writes to is Vertex | Storage — and because every backend wants the full set at creation. A usage added later means recreating the buffer.

Fields and properties (11)

  • None

    Nothing. Not a valid buffer.

  • Vertex

    Vertex attributes.

  • Index

    Indices.

  • Uniform

    A uniform (constant) buffer.

  • Storage

    A read-write structured buffer.

  • Indirect

    Arguments for an indirect draw or dispatch.

  • CopySource

    The source of a copy.

  • CopyDestination

    The destination of a copy.

  • AccelerationStructureInput

    Geometry an acceleration-structure build reads — vertices, indices or instances.

  • AccelerationStructureStorage

    Backs an acceleration structure — created by the backend, not usually by hand.

  • ShaderDeviceAddress

    The buffer's GPU address may be taken and handed to a shader or a build.

Used by (119, showing 40)

  • ArenaFrameThirdPersonShooter
  • PbrShowcaseGamePbrShowcase
  • AccelerationStructureDeviceTestsVixen.Graphics.Golden.Tests
  • AccelerationStructureTestsVixen.Graphics.Null.Tests
  • AssetTextureSourceVixen.Engine.Renderer
  • AutoExposureRendererVixen.Rendering.PostFx
  • BindlessFrameTestsVixen.Rendering.Tests
  • BindlessSamplingDeviceTestsVixen.Graphics.Golden.Tests
  • BufferDescriptionVixen.Graphics
  • BufferReadbackRendererVixen.Rendering
  • BufferTransferDeviceTestsVixen.Graphics.Golden.Tests
  • BufferTransferTestsVixen.Rendering.Tests
  • BufferUploadRendererVixen.Rendering
  • ClusterCullingDeviceTestsVixen.Graphics.Golden.Tests
  • ClusteredLightingTestsVixen.Rendering.Tests
  • ClusteredShadingDeviceTestsVixen.Graphics.Golden.Tests
  • CommandRecorderTestsVixen.Graphics.Null.Tests
  • CompositorAssetTestsVixen.Rendering.Tests
  • CompositorImageTestsVixen.Graphics.Golden.Tests
  • DepthPrepassTestsVixen.Rendering.Tests
  • DescriptorAllocatorTestsVixen.Graphics.Tests
  • DescriptorBindingTestsVixen.Rendering.Tests
  • DrawCompactionTestsVixen.Rendering.Tests
  • EditorGizmoFacingDeviceTestsVixen.Graphics.Golden.Tests
  • EffectConstantsVixen.Rendering
  • EnvironmentTextureVixen.Rendering
  • FixtureVixen.Graphics.Golden.Tests
  • FoliageCullPassVixen.Rendering.Terrain
  • ForwardFrameTestsVixen.Rendering.Tests
  • ForwardLightingRenderFeatureVixen.Rendering
  • ForwardLightingTestsVixen.Rendering.Tests
  • GeometryBufferVixen.Rendering
  • GlBufferVixen.Graphics.OpenGL
  • GlDeviceVixen.Graphics.OpenGL
  • GlDeviceTestsVixen.Graphics.OpenGL.Tests
  • GlReplayTestsVixen.Graphics.OpenGL.Tests
  • GlobalDistanceFieldTextureVixen.Rendering
  • GoldenImageTestsVixen.Graphics.Golden.Tests
  • GpuClusterRasterVixen.Rendering
  • GpuClusterSoftwareRasterVixen.Rendering