Table of Contents

Method CreateBuffer

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

CreateBuffer(BufferDescriptor, string, bool)

Returns a compute buffer matching the requested descriptor and binds it to a pool identifier.

public GraphBuffer CreateBuffer(DataPool.BufferDescriptor desc, string name, bool clearContent = true)

Parameters

desc DataPool.BufferDescriptor
name string
clearContent bool

Returns

GraphBuffer

CreateBuffer(BufferDescriptor, SlotRef, bool)

Returns a compute buffer and binds it to the identifier derived from a slot reference.

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

Parameters

desc DataPool.BufferDescriptor
slotRef SlotRef
clearContent bool

Returns

GraphBuffer