Enum screen_13::graph::node::AnyImageNode
source · pub enum AnyImageNode {
Image(ImageNode),
ImageLease(ImageLeaseNode),
SwapchainImage(SwapchainImageNode),
}Expand description
Specifies either an owned image or an image leased from a pool.
The image may also be a special swapchain type of image.
Variants§
Image(ImageNode)
An owned image.
ImageLease(ImageLeaseNode)
An image leased from a pool.
SwapchainImage(SwapchainImageNode)
A special swapchain image.
Trait Implementations§
source§impl Clone for AnyImageNode
impl Clone for AnyImageNode
source§impl Debug for AnyImageNode
impl Debug for AnyImageNode
source§impl From<ImageLeaseNode> for AnyImageNode
impl From<ImageLeaseNode> for AnyImageNode
source§fn from(node: ImageLeaseNode) -> Self
fn from(node: ImageLeaseNode) -> Self
Converts to this type from the input type.
source§impl From<ImageNode> for AnyImageNode
impl From<ImageNode> for AnyImageNode
source§impl From<SwapchainImageNode> for AnyImageNode
impl From<SwapchainImageNode> for AnyImageNode
source§fn from(node: SwapchainImageNode) -> Self
fn from(node: SwapchainImageNode) -> Self
Converts to this type from the input type.
source§impl<'a> Index<AnyImageNode> for Bindings<'a>
impl<'a> Index<AnyImageNode> for Bindings<'a>
source§impl Node for AnyImageNode
impl Node for AnyImageNode
source§impl View for AnyImageNode
impl View for AnyImageNode
§type Information = ImageViewInfo
type Information = ImageViewInfo
The information about the resource interpretation.
§type Subresource = ImageSubresource
type Subresource = ImageSubresource
The portion of the resource which is bound.