csharp
public readonly record struct AccelerationStructureBuildInputEverything one build reads — the same record sizes the structure and then builds it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
One record for both levels rather than an overload per level, because sizing and building must describe the same input — Vulkan's own rule — and two types would let them drift. The counts are what sizing reads; the buffers may be filled right up to the build.
Fields and properties (3)
public AccelerationStructureKind KindWhich level is being built.
public AccelerationStructureTriangles TrianglesThe geometry, for a bottom-level build.
public AccelerationStructureInstances InstancesThe instances, for a top-level build.
Methods (1)
public AccelerationStructureBuildInput(AccelerationStructureKind Kind, AccelerationStructureTriangles Triangles = default(AccelerationStructureTriangles), AccelerationStructureInstances Instances = default(AccelerationStructureInstances))Everything one build reads — the same record sizes the structure and then builds it.
Used by (14)
- AccelerationStructureDeviceTestsVixen.Graphics.Golden.Tests
- AccelerationStructureTestsVixen.Graphics.Null.Tests
- GlCommandListVixen.Graphics.OpenGL
- GlDeviceVixen.Graphics.OpenGL
- ICommandListVixen.Graphics
- IGraphicsDeviceVixen.Graphics
- NullCommandListVixen.Graphics.Null
- NullDeviceVixen.Graphics.Null
- OrderProbeVixen.Graphics.RenderGraph.Tests
- TrackingCommandListVixen.Graphics.RenderGraph.Tests
- VulkanCommandListVixen.Graphics.Vulkan
- VulkanDeviceVixen.Graphics.Vulkan
- WebGpuCommandListVixen.Graphics.WebGPU
- WebGpuDeviceVixen.Graphics.WebGPU