Struct ash::vk::definitions::GeometryTrianglesNV
source · #[repr(C)]pub struct GeometryTrianglesNV<'a> {Show 14 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub vertex_data: Buffer,
pub vertex_offset: DeviceSize,
pub vertex_count: u32,
pub vertex_stride: DeviceSize,
pub vertex_format: Format,
pub index_data: Buffer,
pub index_offset: DeviceSize,
pub index_count: u32,
pub index_type: IndexType,
pub transform_data: Buffer,
pub transform_offset: DeviceSize,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§vertex_data: Buffer
§vertex_offset: DeviceSize
§vertex_count: u32
§vertex_stride: DeviceSize
§vertex_format: Format
§index_data: Buffer
§index_offset: DeviceSize
§index_count: u32
§index_type: IndexType
§transform_data: Buffer
§transform_offset: DeviceSize
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> GeometryTrianglesNV<'a>
impl<'a> GeometryTrianglesNV<'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
Trait Implementations§
source§impl<'a> Clone for GeometryTrianglesNV<'a>
impl<'a> Clone for GeometryTrianglesNV<'a>
source§fn clone(&self) -> GeometryTrianglesNV<'a>
fn clone(&self) -> GeometryTrianglesNV<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for GeometryTrianglesNV<'a>
impl<'a> Debug for GeometryTrianglesNV<'a>
source§impl Default for GeometryTrianglesNV<'_>
impl Default for GeometryTrianglesNV<'_>
source§impl<'a> TaggedStructure for GeometryTrianglesNV<'a>
impl<'a> TaggedStructure for GeometryTrianglesNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::GEOMETRY_TRIANGLES_NV
impl<'a> Copy for GeometryTrianglesNV<'a>
impl Send for GeometryTrianglesNV<'_>
impl Sync for GeometryTrianglesNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for GeometryTrianglesNV<'a>
impl<'a> RefUnwindSafe for GeometryTrianglesNV<'a>
impl<'a> Unpin for GeometryTrianglesNV<'a>
impl<'a> UnwindSafe for GeometryTrianglesNV<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)