public enum BufferUsageWhat 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)
NoneNothing. Not a valid buffer.
VertexVertex attributes.
IndexIndices.
UniformA uniform (constant) buffer.
StorageA read-write structured buffer.
IndirectArguments for an indirect draw or dispatch.
CopySourceThe source of a copy.
CopyDestinationThe destination of a copy.
AccelerationStructureInputGeometry an acceleration-structure build reads — vertices, indices or instances.
AccelerationStructureStorageBacks an acceleration structure — created by the backend, not usually by hand.
ShaderDeviceAddressThe 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