#[repr(C)]pub struct GeometryTrianglesNV {Show 13 fields
pub sType: StructureType,
pub pNext: *const c_void,
pub vertexData: Buffer,
pub vertexOffset: DeviceSize,
pub vertexCount: u32,
pub vertexStride: DeviceSize,
pub vertexFormat: Format,
pub indexData: Buffer,
pub indexOffset: DeviceSize,
pub indexCount: u32,
pub indexType: IndexType,
pub transformData: Buffer,
pub transformOffset: DeviceSize,
}Fields§
§sType: StructureType§pNext: *const c_void§vertexData: Buffer§vertexOffset: DeviceSize§vertexCount: u32§vertexStride: DeviceSize§vertexFormat: Format§indexData: Buffer§indexOffset: DeviceSize§indexCount: u32§indexType: IndexType§transformData: Buffer§transformOffset: DeviceSizeImplementations§
Source§impl GeometryTrianglesNV
impl GeometryTrianglesNV
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn vertexData(self, vertexData: Buffer) -> Self
pub fn vertexOffset(self, vertexOffset: DeviceSize) -> Self
pub fn vertexCount(self, vertexCount: u32) -> Self
pub fn vertexStride(self, vertexStride: DeviceSize) -> Self
pub fn vertexFormat(self, vertexFormat: Format) -> Self
pub fn indexData(self, indexData: Buffer) -> Self
pub fn indexOffset(self, indexOffset: DeviceSize) -> Self
pub fn indexCount(self, indexCount: u32) -> Self
pub fn indexType(self, indexType: IndexType) -> Self
pub fn transformData(self, transformData: Buffer) -> Self
pub fn transformOffset(self, transformOffset: DeviceSize) -> Self
Trait Implementations§
Source§impl Clone for GeometryTrianglesNV
impl Clone for GeometryTrianglesNV
Source§fn clone(&self) -> GeometryTrianglesNV
fn clone(&self) -> GeometryTrianglesNV
Returns a duplicate 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 Debug for GeometryTrianglesNV
impl Debug for GeometryTrianglesNV
Source§impl Default for GeometryTrianglesNV
impl Default for GeometryTrianglesNV
Source§fn default() -> GeometryTrianglesNV
fn default() -> GeometryTrianglesNV
Returns the “default value” for a type. Read more
impl Copy for GeometryTrianglesNV
Auto Trait Implementations§
impl Freeze for GeometryTrianglesNV
impl RefUnwindSafe for GeometryTrianglesNV
impl !Send for GeometryTrianglesNV
impl !Sync for GeometryTrianglesNV
impl Unpin for GeometryTrianglesNV
impl UnwindSafe for GeometryTrianglesNV
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