Table of Contents

Class GraphBuffer

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

Wraps a UnityEngine.ComputeBuffer so the graph runtime can track it by identifier.

public class GraphBuffer : IDisposable
Inheritance
GraphBuffer
Implements
Inherited Members

Remarks

Vista uses this wrapper because UnityEngine.ComputeBuffer is sealed and cannot carry the metadata needed by DataPool. The wrapper adds a stable pool identifier while preserving direct access to the underlying GPU buffer.

Constructors

GraphBuffer(int, int)

Creates a graph buffer with the requested element count and stride.

Properties

buffer

Underlying compute buffer used by graph nodes and population pipelines.

identifier

Pool or input identifier associated with this buffer.

Methods

Dispose()

Disposes the underlying compute buffer.

ToString()

Returns the identifier currently assigned to this wrapper.