#[repr(C)]pub struct GeometryTrianglesNV {Show 13 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub vertex_data: Buffer,
pub vertex_offset: u64,
pub vertex_count: u32,
pub vertex_stride: u64,
pub vertex_format: Format,
pub index_data: Buffer,
pub index_offset: u64,
pub index_count: u32,
pub index_type: IndexType,
pub transform_data: Buffer,
pub transform_offset: u64,
}Expand description
VkGeometryTrianglesNV
Provided by VK_NV_ray_tracing.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV.
p_next: *const c_voidOptional, may be null.
vertex_data: Buffer§vertex_offset: u64§vertex_count: u32§vertex_stride: u64§vertex_format: Format§index_data: Buffer§index_offset: u64§index_count: u32§index_type: IndexType§transform_data: Buffer§transform_offset: u64Implementations§
Source§impl GeometryTrianglesNV
impl GeometryTrianglesNV
Sourcepub fn builder<'a>() -> GeometryTrianglesNVBuilder<'a>
pub fn builder<'a>() -> GeometryTrianglesNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
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
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 UnsafeUnpin 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