Struct ash::vk::GeometryDataNVBuilder
source · #[repr(transparent)]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.