Enum screen_13::graph::node::AnyAccelerationStructureNode
source · pub enum AnyAccelerationStructureNode {
AccelerationStructure(AccelerationStructureNode),
AccelerationStructureLease(AccelerationStructureLeaseNode),
}Expand description
Specifies either an owned acceleration structure or an acceleration structure leased from a pool.
Variants§
AccelerationStructure(AccelerationStructureNode)
An owned acceleration structure.
AccelerationStructureLease(AccelerationStructureLeaseNode)
An acceleration structure leased from a pool.
Trait Implementations§
source§impl Clone for AnyAccelerationStructureNode
impl Clone 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<'a> Index<AnyAccelerationStructureNode> for Bindings<'a>
impl<'a> Index<AnyAccelerationStructureNode> for Bindings<'a>
§type Output = AccelerationStructure
type Output = AccelerationStructure
The returned type after indexing.
source§impl Node for AnyAccelerationStructureNode
impl Node for AnyAccelerationStructureNode
source§impl View for AnyAccelerationStructureNode
impl View for AnyAccelerationStructureNode
§type Information = ()
type Information = ()
The information about the resource interpretation.
§type Subresource = ()
type Subresource = ()
The portion of the resource which is bound.