#[repr(transparent)]pub struct RaytracingAccelerationStructureSrv(pub D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV);
Expand description
Wrapper around D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV structure
Tuple Fields§
§0: D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV
Implementations§
Source§impl RaytracingAccelerationStructureSrv
impl RaytracingAccelerationStructureSrv
pub fn set_location(&mut self, location: GpuVirtualAddress) -> &mut Self
pub fn with_location(self, location: GpuVirtualAddress) -> Self
pub fn location(&self) -> GpuVirtualAddress
Trait Implementations§
Source§impl Clone for RaytracingAccelerationStructureSrv
impl Clone for RaytracingAccelerationStructureSrv
Source§fn clone(&self) -> RaytracingAccelerationStructureSrv
fn clone(&self) -> RaytracingAccelerationStructureSrv
Returns a duplicate 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 Default for RaytracingAccelerationStructureSrv
impl Default for RaytracingAccelerationStructureSrv
Source§fn default() -> RaytracingAccelerationStructureSrv
fn default() -> RaytracingAccelerationStructureSrv
Returns the “default value” for a type. Read more
Source§impl Ord for RaytracingAccelerationStructureSrv
impl Ord for RaytracingAccelerationStructureSrv
Source§fn cmp(&self, other: &RaytracingAccelerationStructureSrv) -> Ordering
fn cmp(&self, other: &RaytracingAccelerationStructureSrv) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RaytracingAccelerationStructureSrv
impl PartialEq for RaytracingAccelerationStructureSrv
Source§fn eq(&self, other: &RaytracingAccelerationStructureSrv) -> bool
fn eq(&self, other: &RaytracingAccelerationStructureSrv) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for RaytracingAccelerationStructureSrv
impl PartialOrd for RaytracingAccelerationStructureSrv
impl Copy for RaytracingAccelerationStructureSrv
impl Eq for RaytracingAccelerationStructureSrv
impl StructuralPartialEq for RaytracingAccelerationStructureSrv
Auto Trait Implementations§
impl Freeze for RaytracingAccelerationStructureSrv
impl RefUnwindSafe for RaytracingAccelerationStructureSrv
impl Send for RaytracingAccelerationStructureSrv
impl Sync for RaytracingAccelerationStructureSrv
impl Unpin for RaytracingAccelerationStructureSrv
impl UnwindSafe for RaytracingAccelerationStructureSrv
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