#[repr(C)]pub struct AccelerationStructureBuildRangeInfoKHR {
pub primitive_count: u32,
pub primitive_offset: u32,
pub first_vertex: u32,
pub transform_offset: u32,
}Expand description
Native structure VkAccelerationStructureBuildRangeInfoKHR.
Fields§
§primitive_count: u32Native field primitiveCount.
primitive_offset: u32Native field primitiveOffset.
first_vertex: u32Native field firstVertex.
transform_offset: u32Native field transformOffset.
Implementations§
Source§impl AccelerationStructureBuildRangeInfoKHR
impl AccelerationStructureBuildRangeInfoKHR
Sourcepub fn set_primitive_count(self, value: u32) -> Self
pub fn set_primitive_count(self, value: u32) -> Self
Set native field primitiveCount without native effects.
Sourcepub fn set_primitive_offset(self, value: u32) -> Self
pub fn set_primitive_offset(self, value: u32) -> Self
Set native field primitiveOffset without native effects.
Sourcepub fn set_first_vertex(self, value: u32) -> Self
pub fn set_first_vertex(self, value: u32) -> Self
Set native field firstVertex without native effects.
Sourcepub fn set_transform_offset(self, value: u32) -> Self
pub fn set_transform_offset(self, value: u32) -> Self
Set native field transformOffset without native effects.
Trait Implementations§
impl Copy for AccelerationStructureBuildRangeInfoKHR
Auto Trait Implementations§
impl Forget for AccelerationStructureBuildRangeInfoKHR
impl Freeze for AccelerationStructureBuildRangeInfoKHR
impl Move for AccelerationStructureBuildRangeInfoKHR
impl RefUnwindSafe for AccelerationStructureBuildRangeInfoKHR
impl Send for AccelerationStructureBuildRangeInfoKHR
impl Sync for AccelerationStructureBuildRangeInfoKHR
impl Unpin for AccelerationStructureBuildRangeInfoKHR
impl UnsafeUnpin 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