Enum sierra::AccelerationStructureGeometryInfo [−][src]
pub enum AccelerationStructureGeometryInfo { Triangles { max_primitive_count: u32, index_type: Option<IndexType>, max_vertex_count: u32, vertex_format: Format, allows_transforms: bool, }, AABBs { max_primitive_count: u32, }, Instances { max_primitive_count: u32, }, }
Expand description
Specifies the shape of geometries that will be built into an acceleration structure.
Variants
Defines that geometry type is triangle mesh and its data shape.
Show fields
Fields of Triangles
max_primitive_count: u32
Maximum number of primitives that can be built into an acceleration structure geometry.
index_type: Option<IndexType>
Type of indices if any.
max_vertex_count: u32
Maximum number of vertex count.
vertex_format: Format
Format of each vertex.
allows_transforms: bool
Whether mesh allows to be transformed.
Defines that geometry type is array of AABBs.
Show fields
Fields of AABBs
max_primitive_count: u32
Maximum number of primitives that can be built into an acceleration structure geometry.
Defines that geometry type is array of instances of BLASes.
Show fields
Fields of Instances
max_primitive_count: u32
Maximum number of primitives that can be built into an acceleration structure geometry.
Trait Implementations
Auto Trait Implementations
impl Send for AccelerationStructureGeometryInfo
impl Sync for AccelerationStructureGeometryInfo
impl Unpin for AccelerationStructureGeometryInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more