#[repr(transparent)]pub struct AccelerationStructureBuildGeometryInfoKHRBuilder<'b> { /* private fields */ }
Expand description
A builder for a AccelerationStructureBuildGeometryInfoKHR
.
Implementations§
source§impl<'b> AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
pub fn type_(self, type_: AccelerationStructureTypeKHR) -> Self
pub fn flags(self, flags: BuildAccelerationStructureFlagsKHR) -> Self
pub fn mode(self, mode: BuildAccelerationStructureModeKHR) -> Self
pub fn src_acceleration_structure( self, src_acceleration_structure: AccelerationStructureKHR ) -> Self
pub fn dst_acceleration_structure( self, dst_acceleration_structure: AccelerationStructureKHR ) -> Self
pub fn geometries( self, geometries: &'b [impl Cast<Target = AccelerationStructureGeometryKHR>] ) -> Self
pub fn pointer_geometries( self, pointer_geometries: &'b [*const AccelerationStructureGeometryKHR] ) -> Self
pub fn scratch_data(self, scratch_data: DeviceOrHostAddressKHR) -> Self
pub fn build(self) -> AccelerationStructureBuildGeometryInfoKHR
Trait Implementations§
source§impl<'b> Cast for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> Cast for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
§type Target = AccelerationStructureBuildGeometryInfoKHR
type Target = AccelerationStructureBuildGeometryInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> Clone for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
source§fn clone(&self) -> AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
fn clone(&self) -> AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
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<'b> Debug for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> Debug for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
source§impl<'b> Default for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> Default for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
source§fn default() -> AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
fn default() -> AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
source§impl<'b> DerefMut for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> DerefMut for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> Copy for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> !Send for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> !Sync for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> Unpin for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
impl<'b> UnwindSafe for AccelerationStructureBuildGeometryInfoKHRBuilder<'b>
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