Struct wgpu_core::ray_tracing::TraceBlasTriangleGeometry
source · pub struct TraceBlasTriangleGeometry {
pub size: BlasTriangleGeometrySizeDescriptor,
pub vertex_buffer: BufferId,
pub index_buffer: Option<BufferId>,
pub transform_buffer: Option<BufferId>,
pub first_vertex: u32,
pub vertex_stride: BufferAddress,
pub index_buffer_offset: Option<BufferAddress>,
pub transform_buffer_offset: Option<BufferAddress>,
}
Fields§
§size: BlasTriangleGeometrySizeDescriptor
§vertex_buffer: BufferId
§index_buffer: Option<BufferId>
§transform_buffer: Option<BufferId>
§first_vertex: u32
§vertex_stride: BufferAddress
§index_buffer_offset: Option<BufferAddress>
§transform_buffer_offset: Option<BufferAddress>
Trait Implementations§
source§impl Clone for TraceBlasTriangleGeometry
impl Clone for TraceBlasTriangleGeometry
source§fn clone(&self) -> TraceBlasTriangleGeometry
fn clone(&self) -> TraceBlasTriangleGeometry
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 Debug for TraceBlasTriangleGeometry
impl Debug for TraceBlasTriangleGeometry
source§impl<'de> Deserialize<'de> for TraceBlasTriangleGeometry
impl<'de> Deserialize<'de> for TraceBlasTriangleGeometry
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TraceBlasTriangleGeometry
impl RefUnwindSafe for TraceBlasTriangleGeometry
impl Send for TraceBlasTriangleGeometry
impl Sync for TraceBlasTriangleGeometry
impl Unpin for TraceBlasTriangleGeometry
impl UnwindSafe for TraceBlasTriangleGeometry
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
)