/// Use the given image as a copy source
Use the given image as a copy source
Use the given image as a copy source
pub fn read_copy_src_image(
        &mut self,
        node: RenderGraphNodeId,
        image: RenderGraphImageUsageId,
        constraint: RenderGraphImageConstraint,
        view_options: RenderGraphImageViewOptions,
    ) -> RenderGraphImageUsageId {
        let usage = self.add_image_read(node, image, constraint, view_options);
        self.node_mut(node).copy_src_image_reads.push(image);
        usage
    }
pub fn read_copy_src_image ( & mut self , node : RenderGraphNodeId , image : RenderGraphImageUsageId , constraint : RenderGraphImageConstraint , view_options : RenderGraphImageViewOptions , ) -> RenderGraphImageUsageId { let usage = self . add_image_read ( node , image , constraint , view_options ) ; self . node_mut ( node ) . copy_src_image_reads . push ( image ) ; usage }
Use the given image as a copy source
Use the given image as a copy source
&mut self
node
RenderGraphNodeId
image
RenderGraphImageUsageId
constraint
RenderGraphImageConstraint
view_options
RenderGraphImageViewOptions