Struct ash::vk::AccelerationStructureGeometryKHRBuilder
source · 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> 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