Class CommandBuffer
Defined in File GPU.hpp
Class Documentation
-
class CommandBuffer
A structure for usage by the GPU manager to invoke a set of GPU commands.
Public Functions
-
inline virtual void Add(GPUCommand&&)
Add a command to this command buffer.
- Parameters:
cmd – The command to add
Public Static Functions
-
static std::unique_ptr<CommandBuffer> Create()
Create a new empty command buffer.
Protected Functions
-
std::function<void(CommandBuffer*)> &&GetCommandFn(GPUCommand&&)
-
inline virtual void Add(GPUCommand&&)