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