Contents

readOutputs(_:)

Returns all output buffers for the given output node.

Declaration

func readOutputs(_ node: ComputeNodeGraph.NodeID) -> [any MTLBuffer]?

Parameters

  • node:

    The node identifier whose output buffers should be read.

Return Value

An array of MTLBuffer objects, or nil if the node identifier is invalid or no output buffers are found.