#[repr(C)]pub struct AccelerationStructureBuildRangeInfoKHR {
pub primitive_count: u32,
pub primitive_offset: u32,
pub first_vertex: u32,
pub transform_offset: u32,
}Expand description
Fields§
§primitive_count: u32§primitive_offset: u32§first_vertex: u32§transform_offset: u32Implementations§
Source§impl AccelerationStructureBuildRangeInfoKHR
impl AccelerationStructureBuildRangeInfoKHR
pub fn primitive_count( self, primitive_count: u32, ) -> AccelerationStructureBuildRangeInfoKHR
pub fn primitive_offset( self, primitive_offset: u32, ) -> AccelerationStructureBuildRangeInfoKHR
pub fn first_vertex( self, first_vertex: u32, ) -> AccelerationStructureBuildRangeInfoKHR
pub fn transform_offset( self, transform_offset: u32, ) -> AccelerationStructureBuildRangeInfoKHR
Trait Implementations§
Source§impl Clone for AccelerationStructureBuildRangeInfoKHR
impl Clone for AccelerationStructureBuildRangeInfoKHR
Source§fn clone(&self) -> AccelerationStructureBuildRangeInfoKHR
fn clone(&self) -> AccelerationStructureBuildRangeInfoKHR
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 moreSource§impl Default for AccelerationStructureBuildRangeInfoKHR
impl Default for AccelerationStructureBuildRangeInfoKHR
Source§fn default() -> AccelerationStructureBuildRangeInfoKHR
fn default() -> AccelerationStructureBuildRangeInfoKHR
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureBuildRangeInfoKHR
Auto Trait Implementations§
impl Freeze for AccelerationStructureBuildRangeInfoKHR
impl RefUnwindSafe for AccelerationStructureBuildRangeInfoKHR
impl Send for AccelerationStructureBuildRangeInfoKHR
impl Sync for AccelerationStructureBuildRangeInfoKHR
impl Unpin for AccelerationStructureBuildRangeInfoKHR
impl UnwindSafe for AccelerationStructureBuildRangeInfoKHR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more