#[repr(transparent)]pub struct AccelerationStructureSRTMotionInstanceNVBuilder { /* private fields */ }
Expand description
A builder for a AccelerationStructureSRTMotionInstanceNV
.
Implementations§
source§impl AccelerationStructureSRTMotionInstanceNVBuilder
impl AccelerationStructureSRTMotionInstanceNVBuilder
pub fn transform_t0(self, transform_t0: impl Cast<Target = SRTDataNV>) -> Self
pub fn transform_t1(self, transform_t1: impl Cast<Target = SRTDataNV>) -> Self
pub fn instance_custom_index<T>(self, instance_custom_index: u32) -> Self
pub fn mask<T>(self, mask: u8) -> Self
pub fn instance_shader_binding_table_record_offset<T>( self, instance_shader_binding_table_record_offset: u32 ) -> Self
pub fn flags<T>(self, flags: u8) -> Self
pub fn acceleration_structure_reference( self, acceleration_structure_reference: u64 ) -> Self
pub fn build(self) -> AccelerationStructureSRTMotionInstanceNV
Trait Implementations§
source§impl Cast for AccelerationStructureSRTMotionInstanceNVBuilder
impl Cast for AccelerationStructureSRTMotionInstanceNVBuilder
§type Target = AccelerationStructureSRTMotionInstanceNV
type Target = AccelerationStructureSRTMotionInstanceNV
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AccelerationStructureSRTMotionInstanceNVBuilder
impl Clone for AccelerationStructureSRTMotionInstanceNVBuilder
source§fn clone(&self) -> AccelerationStructureSRTMotionInstanceNVBuilder
fn clone(&self) -> AccelerationStructureSRTMotionInstanceNVBuilder
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 AccelerationStructureSRTMotionInstanceNVBuilder
impl Default for AccelerationStructureSRTMotionInstanceNVBuilder
source§fn default() -> AccelerationStructureSRTMotionInstanceNVBuilder
fn default() -> AccelerationStructureSRTMotionInstanceNVBuilder
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureSRTMotionInstanceNVBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccelerationStructureSRTMotionInstanceNVBuilder
impl Send for AccelerationStructureSRTMotionInstanceNVBuilder
impl Sync for AccelerationStructureSRTMotionInstanceNVBuilder
impl Unpin for AccelerationStructureSRTMotionInstanceNVBuilder
impl UnwindSafe for AccelerationStructureSRTMotionInstanceNVBuilder
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