pub enum AnyAccelerationStructureNode {
Arg(AccelerationStructureArg),
Owned(AccelerationStructureNode),
Pooled(AccelerationStructureLeaseNode),
}Expand description
Specifies either an owned acceleration structure or one obtained from a pool.
Variants§
Arg(AccelerationStructureArg)
An acceleration structure supplied as a command stream argument.
Owned(AccelerationStructureNode)
An owned acceleration structure.
Pooled(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 moreimpl Copy for AnyAccelerationStructureNode
Source§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 From<AnyAccelerationStructureNode> for AnyNode
impl From<AnyAccelerationStructureNode> for AnyNode
Source§fn from(node: AnyAccelerationStructureNode) -> Self
fn from(node: AnyAccelerationStructureNode) -> Self
Converts to this type from the input type.
Source§impl<'a> From<AnyAccelerationStructureNode> for RecordSelection<'a>
impl<'a> From<AnyAccelerationStructureNode> for RecordSelection<'a>
Source§fn from(node: AnyAccelerationStructureNode) -> Self
fn from(node: AnyAccelerationStructureNode) -> Self
Converts to this type from the input type.
Source§impl From<StreamArg<AccelerationStructure>> for AnyAccelerationStructureNode
impl From<StreamArg<AccelerationStructure>> for AnyAccelerationStructureNode
Source§fn from(node: AccelerationStructureArg) -> Self
fn from(node: AccelerationStructureArg) -> 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 structure type.
Source§type SyncInfo = AccelerationStructureSyncInfo
type SyncInfo = AccelerationStructureSyncInfo
Synchronization state snapshot returned for this node’s resource 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.
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