pub fn write_copy_dst_buffer(
        &mut self,
        node: RenderGraphNodeId,
        buffer: RenderGraphBufferUsageId,
        constraint: RenderGraphBufferConstraint,
    ) -> RenderGraphBufferUsageId {
        //NOTE: Be careful modifying this.. double check if any changes here copy_buffer_to_buffer()
        // need to be applied to the None dst_buffer codepath
        let (read_buffer, write_buffer) = self.add_buffer_modify(node, buffer, constraint);
        self.node_mut(node).copy_dst_buffer_writes.push(read_buffer);
        write_buffer
    }
/// Use the given buffer as a copy destination
Use the given buffer as a copy destination
Use the given buffer as a copy destination
pub fn write_copy_dst_buffer(
        &mut self,
        node: RenderGraphNodeId,
        buffer: RenderGraphBufferUsageId,
        constraint: RenderGraphBufferConstraint,
    ) -> RenderGraphBufferUsageId {
        //NOTE: Be careful modifying this.. double check if any changes here copy_buffer_to_buffer()
        // need to be applied to the None dst_buffer codepath
        let (read_buffer, write_buffer) = self.add_buffer_modify(node, buffer, constraint);
        self.node_mut(node).copy_dst_buffer_writes.push(read_buffer);
        write_buffer
    }
pub fn write_copy_dst_buffer ( & mut self , node : RenderGraphNodeId , buffer : RenderGraphBufferUsageId , constraint : RenderGraphBufferConstraint , ) -> RenderGraphBufferUsageId { //NOTE: Be careful modifying this.. double check if any changes here copy_buffer_to_buffer() // need to be applied to the None dst_buffer codepath let ( read_buffer , write_buffer ) = self . add_buffer_modify ( node , buffer , constraint ) ; self . node_mut ( node ) . copy_dst_buffer_writes . push ( read_buffer ) ; write_buffer }
Use the given buffer as a copy destination
Use the given buffer as a copy destination
&mut self
node
RenderGraphNodeId
buffer
RenderGraphBufferUsageId
constraint
RenderGraphBufferConstraint
&mut self
node
RenderGraphNodeId
buffer
RenderGraphBufferUsageId
constraint
RenderGraphBufferConstraint