Method CreateBuffer
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
descDataPool.BufferDescriptornamestringclearContentbool
Returns
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
descDataPool.BufferDescriptorslotRefSlotRefclearContentbool