Enum sierra::AccelerationStructureGeometryInfo [−][src]
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.
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.
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.
Fields of Instances
max_primitive_count: u32
Maximum number of primitives that can be built into an acceleration structure geometry.
Trait Implementations
impl Clone for AccelerationStructureGeometryInfo
[src]
fn clone(&self) -> AccelerationStructureGeometryInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AccelerationStructureGeometryInfo
[src]
impl Debug for AccelerationStructureGeometryInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccelerationStructureGeometryInfo
impl Send for AccelerationStructureGeometryInfo
impl Sync for AccelerationStructureGeometryInfo
impl Unpin for AccelerationStructureGeometryInfo
impl UnwindSafe for AccelerationStructureGeometryInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,