IRecordingCommandBuffer - dpw105f18/papago-api GitHub Wiki
defined in header "icommand_buffer.hpp"
class IRecordingCommandBuffer;
This is a helper class for ICommandBuffer. Its resposibility is to provide the interface available when recording data to the ICommandBuffer.
Objects of this class contain GPU commands, which are used to render images to on-screen and off-screen image buffers. These objects cannot be recorded to directly, but need to be filled with commands through a ICommandBuffer object.
The commands recorded to the IRecordingCommandBuffer are mainly used to wipe the buffers. Actual draw calls and bindings are done on the ISubCommandBuffers executed on the object.
Methods
| Methods | Description |
|---|---|
| [execute](/dpw105f18/papago-api/wiki/IRecordingCommandBuffer::execute) | Records the execution of [ISubCommandBuffers](/dpw105f18/papago-api/wiki/ISubCommandBuffer) |
| [clearColorBuffer](/dpw105f18/papago-api/wiki/IRecordingCommandBuffer::clearColorBuffer) | Records clearing of the color buffer bound to the current render target |
| [clearDepthStencilBuffer](/dpw105f18/papago-api/wiki/IRecordingCommandBuffer::clearDepthStencilBuffer) | Records the clearing of the combined depth and stencil buffer bound to the current render target. |
| [clearDepthBuffer](/dpw105f18/papago-api/wiki/IRecordingCommandBuffer::clearDepthBuffer) | Records the clearing of the depth buffer of the bound render target. This buffer must be a depth-only buffer. |
| [clearStencilBuffer](/dpw105f18/papago-api/wiki/IRecordingCommandBuffer::clearStencilBuffer) | Records the clearing of the stencil buffer of the bound render target. This buffer must be a stencil-only buffer. |
| [setDynamicIndex](/dpw105f18/papago-api/wiki/IRecordingCommandBuffer::setDynamicIndex) | Records the binding of which index in a IDynamicBufferResource to use. |