pub fn read_indirect_buffer(
        &mut self,
        node: RenderGraphNodeId,
        buffer: RenderGraphBufferUsageId,
        mut constraint: RenderGraphBufferConstraint,
    ) -> RenderGraphBufferUsageId {
        constraint.resource_type |= RafxResourceType::INDIRECT_BUFFER;

        let usage = self.add_buffer_read(node, buffer, constraint);
        self.node_mut(node).indirect_buffer_reads.push(buffer);
        usage
    }
/// Use the given buffer as an indirect buffer
Use the given buffer as an indirect buffer
Use the given buffer as an indirect buffer
pub fn read_indirect_buffer(
        &mut self,
        node: RenderGraphNodeId,
        buffer: RenderGraphBufferUsageId,
        mut constraint: RenderGraphBufferConstraint,
    ) -> RenderGraphBufferUsageId {
        constraint.resource_type |= RafxResourceType::INDIRECT_BUFFER;
        let usage = self.add_buffer_read(node, buffer, constraint);
        self.node_mut(node).indirect_buffer_reads.push(buffer);
        usage
    }
pub fn read_indirect_buffer ( & mut self , node : RenderGraphNodeId , buffer : RenderGraphBufferUsageId , mut constraint : RenderGraphBufferConstraint , ) -> RenderGraphBufferUsageId { constraint . resource_type |= RafxResourceType :: INDIRECT_BUFFER ; let usage = self . add_buffer_read ( node , buffer , constraint ) ; self . node_mut ( node ) . indirect_buffer_reads . push ( buffer ) ; usage }
Use the given buffer as an indirect buffer
Use the given buffer as an indirect buffer
&mut self
node
RenderGraphNodeId
buffer
RenderGraphBufferUsageId
constraint
RenderGraphBufferConstraint
&mut self
node
RenderGraphNodeId
buffer
RenderGraphBufferUsageId
constraint
RenderGraphBufferConstraint