Table of Contents

Method CreateBuffer

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

CreateBuffer(BufferDescriptor, SlotRef, bool)

Allocates or reuses a pooled compute buffer for a node output slot.

public ComputeBuffer CreateBuffer(DataPool.BufferDescriptor desc, SlotRef slotRef, bool clearContent = true)

Parameters

desc DataPool.BufferDescriptor
slotRef SlotRef
clearContent bool

Returns

ComputeBuffer