|
CeresEngine 0.2.0
A game development framework
|
A helper class that begins a scoped graphics pipeline recording. More...
#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
Public Member Functions | |
| Scope (GPUCommandBuffer &commandBuffer, GPUGraphicsPipeline &graphicsPipeline) | |
Creates a new scope and calls begin() on the pipeline. | |
| Scope (const GPUCommandBufferPtr &commandBuffer, GPUGraphicsPipeline &graphicsPipeline) | |
Creates a new scope and calls begin() on the pipeline. | |
| Scope (GPUCommandBuffer &commandBuffer, const GPUGraphicsPipelinePtr &graphicsPipeline) | |
Creates a new scope and calls begin() on the pipeline. | |
| Scope (const GPUCommandBufferPtr &commandBuffer, const GPUGraphicsPipelinePtr &graphicsPipeline) | |
Creates a new scope and calls begin() on the pipeline. | |
| ~Scope () noexcept | |
| Unbound the pipeline from the command buffer. | |
| void | reset () |
| Unbound the pipeline from the command buffer. | |
Private Attributes | |
| GPUCommandBuffer * | mCommandBuffer = nullptr |
| The command buffer to which commands are being recorded on. | |
| GPUGraphicsPipeline * | mGraphicsPipeline = nullptr |
| The graphics pipeline to be bound within the scope. | |
A helper class that begins a scoped graphics pipeline recording.
|
inlineexplicit |
Creates a new scope and calls begin() on the pipeline.
| commandBuffer | The command line to bind the pipeline to. |
| graphicsPipeline | The pipeline to be bound. |
|
inlineexplicit |
Creates a new scope and calls begin() on the pipeline.
| commandBuffer | The command line to bind the pipeline to. |
| graphicsPipeline | The pipeline to be bound. |
|
inlineexplicit |
Creates a new scope and calls begin() on the pipeline.
| commandBuffer | The command line to bind the pipeline to. |
| graphicsPipeline | The pipeline to be bound. |
|
inlineexplicit |
Creates a new scope and calls begin() on the pipeline.
| commandBuffer | The command line to bind the pipeline to. |
| graphicsPipeline | The pipeline to be bound. |
|
inlinenoexcept |
Unbound the pipeline from the command buffer.
|
inline |
Unbound the pipeline from the command buffer.
|
private |
The command buffer to which commands are being recorded on.
|
private |
The graphics pipeline to be bound within the scope.