pub struct ContextBlasTriangleGeometry<'a> {
pub(crate) size: &'a BlasTriangleGeometrySizeDescriptor,
pub(crate) vertex_buffer: &'a DispatchBuffer,
pub(crate) index_buffer: Option<&'a DispatchBuffer>,
pub(crate) transform_buffer: Option<&'a DispatchBuffer>,
pub(crate) first_vertex: u32,
pub(crate) vertex_stride: BufferAddress,
pub(crate) index_buffer_offset: Option<BufferAddress>,
pub(crate) transform_buffer_offset: Option<BufferAddress>,
}
Expand description
Context version of BlasTriangleGeometry.
Fields§
§size: &'a BlasTriangleGeometrySizeDescriptor
§vertex_buffer: &'a DispatchBuffer
§index_buffer: Option<&'a DispatchBuffer>
§transform_buffer: Option<&'a DispatchBuffer>
§first_vertex: u32
§vertex_stride: BufferAddress
§index_buffer_offset: Option<BufferAddress>
§transform_buffer_offset: Option<BufferAddress>
Auto Trait Implementations§
impl<'a> Freeze for ContextBlasTriangleGeometry<'a>
impl<'a> !RefUnwindSafe for ContextBlasTriangleGeometry<'a>
impl<'a> Send for ContextBlasTriangleGeometry<'a>
impl<'a> Sync for ContextBlasTriangleGeometry<'a>
impl<'a> Unpin for ContextBlasTriangleGeometry<'a>
impl<'a> !UnwindSafe for ContextBlasTriangleGeometry<'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