#[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
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
)