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 (176, showing 40)
- ArenaFrameThirdPersonShooter
- ShowcaseFramePbrShowcase
- 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
- CascadeCountDeviceTestsVixen.Graphics.Golden.Tests
- 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
- DepthResolveImageTestsVixen.Graphics.Golden.Tests
- DescriptorAllocatorTestsVixen.Graphics.Tests
- DescriptorBindingTestsVixen.Rendering.Tests
- DrawCompactionTestsVixen.Rendering.Tests
- DynamicUniformBlockTestsVixen.Shaders.Tests
- EditorGizmoFacingDeviceTestsVixen.Graphics.Golden.Tests
- EffectConstantsVixen.Rendering
- EnvironmentTextureVixen.Rendering
- FixtureVixen.Graphics.Golden.Tests
- FoliageCullPassVixen.Rendering.Terrain
- FoliageDrawPassVixen.Rendering.Terrain
- FoliageVelocityPassVixen.Rendering.Terrain
- ForwardFrameTestsVixen.Rendering.Tests
- ForwardLightingRenderFeatureVixen.Rendering
- ForwardLightingTestsVixen.Rendering.Tests
- FrameCaptureVixen.App.Hosting
- GeometryBufferVixen.Rendering
- GlBufferVixen.Graphics.OpenGL
- GlDeviceVixen.Graphics.OpenGL