#[repr(C)]pub struct AccelerationStructureGeometryTrianglesDataKHR {
pub s_type: StructureType,
pub 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
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
Trait Implementations
sourceimpl Clone for AccelerationStructureGeometryTrianglesDataKHR
impl Clone for AccelerationStructureGeometryTrianglesDataKHR
sourcefn clone(&self) -> AccelerationStructureGeometryTrianglesDataKHR
fn clone(&self) -> AccelerationStructureGeometryTrianglesDataKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for AccelerationStructureGeometryTrianglesDataKHR
Auto Trait Implementations
impl RefUnwindSafe for AccelerationStructureGeometryTrianglesDataKHR
impl !Send for AccelerationStructureGeometryTrianglesDataKHR
impl !Sync for AccelerationStructureGeometryTrianglesDataKHR
impl Unpin for AccelerationStructureGeometryTrianglesDataKHR
impl UnwindSafe for AccelerationStructureGeometryTrianglesDataKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more