pub struct AccelerationStructureGeometryKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> AccelerationStructureGeometryKHRBuilder<'a>
pub fn geometry_type(self, geometry_type: GeometryTypeKHR) -> Self
pub fn geometry(self, geometry: AccelerationStructureGeometryDataKHR) -> Self
pub fn flags(self, flags: GeometryFlagsKHR) -> Self
Sourcepub fn build(self) -> AccelerationStructureGeometryKHR
pub fn build(self) -> AccelerationStructureGeometryKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureGeometryKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> RefUnwindSafe for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> !Send for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> !Sync for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> Unpin for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureGeometryKHRBuilder<'a>
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