pub struct CopyAccelerationStructureToMemoryInfo {
pub src: Arc<AccelerationStructure>,
pub dst: Subbuffer<[u8]>,
pub mode: CopyAccelerationStructureMode,
pub _ne: NonExhaustive,
}
Expand description
Parameters for copying from an acceleration structure into memory.
Fields§
§src: Arc<AccelerationStructure>
The acceleration structure to copy from.
There is no default value.
dst: Subbuffer<[u8]>
The memory to copy the structure to.
There is no default value.
mode: CopyAccelerationStructureMode
Additional operations to perform during the copy.
The default value is CopyAccelerationStructureMode::Serialize
.
_ne: NonExhaustive
Implementations§
Trait Implementations§
source§impl Clone for CopyAccelerationStructureToMemoryInfo
impl Clone for CopyAccelerationStructureToMemoryInfo
source§fn clone(&self) -> CopyAccelerationStructureToMemoryInfo
fn clone(&self) -> CopyAccelerationStructureToMemoryInfo
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for CopyAccelerationStructureToMemoryInfo
impl Send for CopyAccelerationStructureToMemoryInfo
impl Sync for CopyAccelerationStructureToMemoryInfo
impl Unpin for CopyAccelerationStructureToMemoryInfo
impl !UnwindSafe for CopyAccelerationStructureToMemoryInfo
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