Table of Contents

Method AddBuffer

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

AddBuffer(string, ComputeBuffer)

Registers a compute buffer input under the name graph input nodes will request.

public void AddBuffer(string name, ComputeBuffer buffer)

Parameters

name string

The input name used by graph nodes or subgraph forwarding code.

buffer ComputeBuffer

The compute buffer to expose during execution.

Remarks

The container stores the reference only; it does not clone or take ownership of the buffer.