Constructor GraphBuffer
GraphBuffer(int, int)
Creates a graph buffer with the requested element count and stride.
public GraphBuffer(int count, int stride)
Parameters
countintNumber of elements to allocate in the underlying UnityEngine.ComputeBuffer.
strideintSize, in bytes, of each element in the underlying UnityEngine.ComputeBuffer.
Remarks
Most Vista graph buffers use a stride of sizeof(float) and pack structured data as
flat float arrays.