Vixen
02b45cc4

AccelerationStructureDescription

struct Core/Vixen.Graphics/AccelerationStructures.cs:27
csharp
public readonly record struct AccelerationStructureDescription

What to create an acceleration structure as.

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

Fields and properties (3)

  • public AccelerationStructureKind Kind

    Which level it is.

  • public long Size

    Its size in bytes — Structure, from GetAccelerationStructureSizes over the same input the build will use. The device decides this number; a caller inventing it gets a refusal at creation on a good day and corruption on a bad one.

  • public string Name

    A name for the debugger and the validation layers.

Methods (1)

  • public AccelerationStructureDescription(AccelerationStructureKind Kind, long Size, string Name = "")

    What to create an acceleration structure as.

Used by (6)

  • GlDeviceVixen.Graphics.OpenGL
  • IGraphicsDeviceVixen.Graphics
  • NullAccelerationStructureVixen.Graphics.Null
  • NullDeviceVixen.Graphics.Null
  • VulkanDeviceVixen.Graphics.Vulkan
  • WebGpuDeviceVixen.Graphics.WebGPU