Struct ash::vk::AccelerationStructureBuildRangeInfoKHR
source · #[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: u32
Implementations§
source§impl AccelerationStructureBuildRangeInfoKHR
impl AccelerationStructureBuildRangeInfoKHR
pub fn primitive_count(self, primitive_count: u32) -> Self
pub fn primitive_offset(self, primitive_offset: u32) -> Self
pub fn first_vertex(self, first_vertex: u32) -> Self
pub fn transform_offset(self, transform_offset: u32) -> Self
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)