Struct wgpu_core::ray_tracing::BlasTriangleGeometry
source · pub struct BlasTriangleGeometry<'a> {
pub size: &'a 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: &'a 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§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BlasTriangleGeometry<'a>
impl<'a> Send for BlasTriangleGeometry<'a>
impl<'a> Sync for BlasTriangleGeometry<'a>
impl<'a> Unpin for BlasTriangleGeometry<'a>
impl<'a> UnwindSafe for BlasTriangleGeometry<'a>
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