pub enum AnyAccelerationStructureNode {
AccelerationStructure(AccelerationStructureNode),
AccelerationStructureLease(AccelerationStructureLeaseNode),
}Expand description
Specifies either an owned acceleration structure or one obtained from a pool.
Variants§
AccelerationStructure(AccelerationStructureNode)
An owned acceleration structure.
AccelerationStructureLease(AccelerationStructureLeaseNode)
An acceleration structure obtained from a pool.
Trait Implementations§
Source§impl Clone for AnyAccelerationStructureNode
impl Clone for AnyAccelerationStructureNode
Source§fn clone(&self) -> AnyAccelerationStructureNode
fn clone(&self) -> AnyAccelerationStructureNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnyAccelerationStructureNode
impl Debug for AnyAccelerationStructureNode
Source§impl From<AccelerationStructureLeaseNode> for AnyAccelerationStructureNode
impl From<AccelerationStructureLeaseNode> for AnyAccelerationStructureNode
Source§fn from(node: AccelerationStructureLeaseNode) -> Self
fn from(node: AccelerationStructureLeaseNode) -> Self
Converts to this type from the input type.
Source§impl From<AccelerationStructureNode> for AnyAccelerationStructureNode
impl From<AccelerationStructureNode> for AnyAccelerationStructureNode
Source§fn from(node: AccelerationStructureNode) -> Self
fn from(node: AccelerationStructureNode) -> Self
Converts to this type from the input type.
Source§impl Node for AnyAccelerationStructureNode
impl Node for AnyAccelerationStructureNode
Source§type Resource = AccelerationStructure
type Resource = AccelerationStructure
The Vulkan buffer, image, or acceleration struction type.
Source§impl Subresource for AnyAccelerationStructureNode
impl Subresource for AnyAccelerationStructureNode
Source§type Info = <AnyAccelerationStructureNode as Subresource>::Range
type Info = <AnyAccelerationStructureNode as Subresource>::Range
The information about the subresource when bound directly to shader descriptors.
impl Copy for AnyAccelerationStructureNode
Auto Trait Implementations§
impl Freeze for AnyAccelerationStructureNode
impl RefUnwindSafe for AnyAccelerationStructureNode
impl Send for AnyAccelerationStructureNode
impl Sync for AnyAccelerationStructureNode
impl Unpin for AnyAccelerationStructureNode
impl UnsafeUnpin for AnyAccelerationStructureNode
impl UnwindSafe for AnyAccelerationStructureNode
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