Struct ash::vk::GeometryDataNVBuilder
source · pub struct GeometryDataNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> GeometryDataNVBuilder<'a>
impl<'a> GeometryDataNVBuilder<'a>
pub fn triangles(self, triangles: GeometryTrianglesNV) -> Self
pub fn aabbs(self, aabbs: GeometryAABBNV) -> Self
sourcepub fn build(self) -> GeometryDataNV
pub fn build(self) -> GeometryDataNV
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 GeometryDataNVBuilder<'a>
impl<'a> Deref for GeometryDataNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for GeometryDataNVBuilder<'a>
impl<'a> RefUnwindSafe for GeometryDataNVBuilder<'a>
impl<'a> !Send for GeometryDataNVBuilder<'a>
impl<'a> !Sync for GeometryDataNVBuilder<'a>
impl<'a> Unpin for GeometryDataNVBuilder<'a>
impl<'a> UnwindSafe for GeometryDataNVBuilder<'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