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§
Triangles
Fields
Defines that geometry type is triangle mesh and its data shape.
AABBs
Fields
Defines that geometry type is array of AABBs.
Instances
Fields
Defines that geometry type is array of instances of BLASes.
Trait Implementations§
source§impl Clone for AccelerationStructureGeometryInfo
impl Clone for AccelerationStructureGeometryInfo
source§fn clone(&self) -> AccelerationStructureGeometryInfo
fn clone(&self) -> AccelerationStructureGeometryInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more