pub struct GeometryAABBNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> GeometryAABBNVBuilder<'a>
impl<'a> GeometryAABBNVBuilder<'a>
pub fn aabb_data(self, aabb_data: Buffer) -> Self
pub fn num_aab_bs(self, num_aab_bs: u32) -> Self
pub fn stride(self, stride: u32) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
Sourcepub fn build(self) -> GeometryAABBNV
pub fn build(self) -> GeometryAABBNV
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 GeometryAABBNVBuilder<'a>
impl<'a> Deref for GeometryAABBNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for GeometryAABBNVBuilder<'a>
impl<'a> RefUnwindSafe for GeometryAABBNVBuilder<'a>
impl<'a> !Send for GeometryAABBNVBuilder<'a>
impl<'a> !Sync for GeometryAABBNVBuilder<'a>
impl<'a> Unpin for GeometryAABBNVBuilder<'a>
impl<'a> UnwindSafe for GeometryAABBNVBuilder<'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