Struct ash::vk::GeometryTrianglesNVBuilder
source · pub struct GeometryTrianglesNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> GeometryTrianglesNVBuilder<'a>
impl<'a> GeometryTrianglesNVBuilder<'a>
pub fn vertex_data(self, vertex_data: Buffer) -> Self
pub fn vertex_offset(self, vertex_offset: DeviceSize) -> Self
pub fn vertex_count(self, vertex_count: u32) -> Self
pub fn vertex_stride(self, vertex_stride: DeviceSize) -> Self
pub fn vertex_format(self, vertex_format: Format) -> Self
pub fn index_data(self, index_data: Buffer) -> Self
pub fn index_offset(self, index_offset: DeviceSize) -> Self
pub fn index_count(self, index_count: u32) -> Self
pub fn index_type(self, index_type: IndexType) -> Self
pub fn transform_data(self, transform_data: Buffer) -> Self
pub fn transform_offset(self, transform_offset: DeviceSize) -> Self
sourcepub fn build(self) -> GeometryTrianglesNV
pub fn build(self) -> GeometryTrianglesNV
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 GeometryTrianglesNVBuilder<'a>
impl<'a> Deref for GeometryTrianglesNVBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for GeometryTrianglesNVBuilder<'a>
impl<'a> !Send for GeometryTrianglesNVBuilder<'a>
impl<'a> !Sync for GeometryTrianglesNVBuilder<'a>
impl<'a> Unpin for GeometryTrianglesNVBuilder<'a>
impl<'a> UnwindSafe for GeometryTrianglesNVBuilder<'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