IDynamicBufferResource - dpw105f18/papago-api GitHub Wiki

defined in header "ibufferresource.hpp"

class IDynamicBufferResource;

IDynamicBufferResource is an interface to a dynamic buffer in the GPU. Different from an IBufferResource, this class may contain several sub-resources, which can be switched between using commands.

Creation of this object is done though the [IDevice]] class using the method [createDynamicUniformBuffer.

Methods

Methods Description
[upload](/dpw105f18/papago-api/wiki/IDynamicBufferResource::upload) uploads data to the buffer
[download](/dpw105f18/papago-api/wiki/IDynamicBufferResource::download) download the data from the buffer
[inUse](/dpw105f18/papago-api/wiki/IDynamicBufferResource::inuse) tells if a buffer is currently being used by the GPU