Struct sierra::AabbPositions
source · #[repr(align(8))]#[repr(C)]pub struct AabbPositions {
pub min_x: f32,
pub min_y: f32,
pub min_z: f32,
pub max_x: f32,
pub max_y: f32,
pub max_z: f32,
}
Expand description
Structure expected by device in buffer range specified by AccelerationStructureGeometry::AABBs
.
Fields§
§min_x: f32
§min_y: f32
§min_z: f32
§max_x: f32
§max_y: f32
§max_z: f32
Trait Implementations§
source§impl Clone for AabbPositions
impl Clone for AabbPositions
source§fn clone(&self) -> AabbPositions
fn clone(&self) -> AabbPositions
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