#[repr(transparent)]pub struct AccelerationStructureBuildRangeInfoKHRBuilder { /* private fields */ }
Expand description
A builder for a AccelerationStructureBuildRangeInfoKHR
.
Implementations§
source§impl AccelerationStructureBuildRangeInfoKHRBuilder
impl AccelerationStructureBuildRangeInfoKHRBuilder
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
pub fn build(self) -> AccelerationStructureBuildRangeInfoKHR
Trait Implementations§
source§impl Cast for AccelerationStructureBuildRangeInfoKHRBuilder
impl Cast for AccelerationStructureBuildRangeInfoKHRBuilder
§type Target = AccelerationStructureBuildRangeInfoKHR
type Target = AccelerationStructureBuildRangeInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AccelerationStructureBuildRangeInfoKHRBuilder
impl Clone for AccelerationStructureBuildRangeInfoKHRBuilder
source§fn clone(&self) -> AccelerationStructureBuildRangeInfoKHRBuilder
fn clone(&self) -> AccelerationStructureBuildRangeInfoKHRBuilder
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 AccelerationStructureBuildRangeInfoKHRBuilder
impl Default for AccelerationStructureBuildRangeInfoKHRBuilder
source§fn default() -> AccelerationStructureBuildRangeInfoKHRBuilder
fn default() -> AccelerationStructureBuildRangeInfoKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureBuildRangeInfoKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccelerationStructureBuildRangeInfoKHRBuilder
impl Send for AccelerationStructureBuildRangeInfoKHRBuilder
impl Sync for AccelerationStructureBuildRangeInfoKHRBuilder
impl Unpin for AccelerationStructureBuildRangeInfoKHRBuilder
impl UnwindSafe for AccelerationStructureBuildRangeInfoKHRBuilder
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