#[repr(C)]pub struct AccelerationStructureGeometryTrianglesDataKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub vertex_format: Format,
pub vertex_data: DeviceOrHostAddressConstKHR,
pub vertex_stride: DeviceSize,
pub max_vertex: u32,
pub index_type: IndexType,
pub index_data: DeviceOrHostAddressConstKHR,
pub transform_data: DeviceOrHostAddressConstKHR,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§vertex_format: Format
§vertex_data: DeviceOrHostAddressConstKHR
§vertex_stride: DeviceSize
§max_vertex: u32
§index_type: IndexType
§index_data: DeviceOrHostAddressConstKHR
§transform_data: DeviceOrHostAddressConstKHR
Implementations§
Trait Implementations§
source§impl Clone for AccelerationStructureGeometryTrianglesDataKHR
impl Clone for AccelerationStructureGeometryTrianglesDataKHR
source§fn clone(&self) -> AccelerationStructureGeometryTrianglesDataKHR
fn clone(&self) -> AccelerationStructureGeometryTrianglesDataKHR
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 TaggedStructure for AccelerationStructureGeometryTrianglesDataKHR
impl TaggedStructure for AccelerationStructureGeometryTrianglesDataKHR
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR
impl Copy for AccelerationStructureGeometryTrianglesDataKHR
Auto Trait Implementations§
impl Freeze for AccelerationStructureGeometryTrianglesDataKHR
impl RefUnwindSafe for AccelerationStructureGeometryTrianglesDataKHR
impl !Send for AccelerationStructureGeometryTrianglesDataKHR
impl !Sync for AccelerationStructureGeometryTrianglesDataKHR
impl Unpin for AccelerationStructureGeometryTrianglesDataKHR
impl UnwindSafe for AccelerationStructureGeometryTrianglesDataKHR
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