Enum sierra::AccelerationStructureGeometry [−][src]
pub enum AccelerationStructureGeometry { Triangles { flags: GeometryFlags, vertex_format: Format, vertex_data: BufferRange, vertex_stride: u64, vertex_count: u32, first_vertex: u32, primitive_count: u32, index_data: Option<IndexData>, transform_data: Option<BufferRange>, }, AABBs { flags: GeometryFlags, data: BufferRange, stride: u64, primitive_count: u32, }, Instances { flags: GeometryFlags, data: BufferRange, primitive_count: u32, }, }
Expand description
Geometry data to build into acceleration structure.
Variants
Triangles data to build into acceleration structure.
Fields of Triangles
flags: GeometryFlags
vertex_format: Format
vertex_data: BufferRange
vertex_stride: u64
vertex_count: u32
first_vertex: u32
primitive_count: u32
index_data: Option<IndexData>
transform_data: Option<BufferRange>
Fields of AABBs
Fields of Instances
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AccelerationStructureGeometry
impl Send for AccelerationStructureGeometry
impl Sync for AccelerationStructureGeometry
impl Unpin for AccelerationStructureGeometry
impl !UnwindSafe for AccelerationStructureGeometry
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more