pub(super) fn new(
        id: RenderGraphNodeId,
        name: Option<RenderGraphNodeName>,
        queue: RenderGraphQueue,
    ) -> Self {
        RenderGraphNode {
            id,
            name,
            queue,
            can_be_culled: true,
            image_creates: Default::default(),
            image_reads: Default::default(),
            image_modifies: Default::default(),
            image_copies: Default::default(),
            buffer_creates: Default::default(),
            buffer_reads: Default::default(),
            buffer_modifies: Default::default(),
            buffer_copies: Default::default(),
            explicit_dependencies: Default::default(),
            color_attachments: Default::default(),
            depth_attachment: Default::default(),
            resolve_attachments: Default::default(),
            sampled_images: Default::default(),
            storage_image_creates: Default::default(),
            storage_image_reads: Default::default(),
            storage_image_modifies: Default::default(),
            copy_src_image_reads: Default::default(),
            copy_dst_image_writes: Default::default(),
            vertex_buffer_reads: Default::default(),
            index_buffer_reads: Default::default(),
            indirect_buffer_reads: Default::default(),
            uniform_buffer_reads: Default::default(),
            storage_buffer_creates: Default::default(),
            storage_buffer_reads: Default::default(),
            storage_buffer_modifies: Default::default(),
            copy_src_buffer_reads: Default::default(),
            copy_dst_buffer_writes: Default::default(),
        }
    }
// Create a render node with the given ID.
Create a render node with the given ID.
Create a render node with the given ID .
pub(super) fn new(
        id: RenderGraphNodeId,
        name: Option<RenderGraphNodeName>,
        queue: RenderGraphQueue,
    ) -> Self {
        RenderGraphNode {
            id,
            name,
            queue,
            can_be_culled: true,
            image_creates: Default::default(),
            image_reads: Default::default(),
            image_modifies: Default::default(),
            image_copies: Default::default(),
            buffer_creates: Default::default(),
            buffer_reads: Default::default(),
            buffer_modifies: Default::default(),
            buffer_copies: Default::default(),
            explicit_dependencies: Default::default(),
            color_attachments: Default::default(),
            depth_attachment: Default::default(),
            resolve_attachments: Default::default(),
            sampled_images: Default::default(),
            storage_image_creates: Default::default(),
            storage_image_reads: Default::default(),
            storage_image_modifies: Default::default(),
            copy_src_image_reads: Default::default(),
            copy_dst_image_writes: Default::default(),
            vertex_buffer_reads: Default::default(),
            index_buffer_reads: Default::default(),
            indirect_buffer_reads: Default::default(),
            uniform_buffer_reads: Default::default(),
            storage_buffer_creates: Default::default(),
            storage_buffer_reads: Default::default(),
            storage_buffer_modifies: Default::default(),
            copy_src_buffer_reads: Default::default(),
            copy_dst_buffer_writes: Default::default(),
        }
    }
pub ( super ) fn new ( id : RenderGraphNodeId , name : Option < RenderGraphNodeName > , queue : RenderGraphQueue , ) -> Self { RenderGraphNode { id , name , queue , can_be_culled : true , image_creates : Default :: default ( ) , image_reads : Default :: default ( ) , image_modifies : Default :: default ( ) , image_copies : Default :: default ( ) , buffer_creates : Default :: default ( ) , buffer_reads : Default :: default ( ) , buffer_modifies : Default :: default ( ) , buffer_copies : Default :: default ( ) , explicit_dependencies : Default :: default ( ) , color_attachments : Default :: default ( ) , depth_attachment : Default :: default ( ) , resolve_attachments : Default :: default ( ) , sampled_images : Default :: default ( ) , storage_image_creates : Default :: default ( ) , storage_image_reads : Default :: default ( ) , storage_image_modifies : Default :: default ( ) , copy_src_image_reads : Default :: default ( ) , copy_dst_image_writes : Default :: default ( ) , vertex_buffer_reads : Default :: default ( ) , index_buffer_reads : Default :: default ( ) , indirect_buffer_reads : Default :: default ( ) , uniform_buffer_reads : Default :: default ( ) , storage_buffer_creates : Default :: default ( ) , storage_buffer_reads : Default :: default ( ) , storage_buffer_modifies : Default :: default ( ) , copy_src_buffer_reads : Default :: default ( ) , copy_dst_buffer_writes : Default :: default ( ) , } }
Create a render node with the given ID.
Create a render node with the given ID .
id
RenderGraphNodeId
name
Option<RenderGraphNodeName>
queue
RenderGraphQueue
id
RenderGraphNodeId
name
Option<RenderGraphNodeName>
queue
RenderGraphQueue