|
CeresEngine 0.2.0
A game development framework
|
A helper class that begins a scoped compute pipeline recording. More...
#include <CeresEngine/RenderAPI/GPUComputePipeline.hpp>
Public Member Functions | |
| Scope (GPUCommandBuffer &commandBuffer, GPUComputePipeline &computePipeline) | |
Creates a new scope and calls begin() on the pipeline. | |
| Scope (const GPUCommandBufferPtr &commandBuffer, GPUComputePipeline &computePipeline) | |
Creates a new scope and calls begin() on the pipeline. | |
| Scope (GPUCommandBuffer &commandBuffer, const GPUComputePipelinePtr &computePipeline) | |
Creates a new scope and calls begin() on the pipeline. | |
| Scope (const GPUCommandBufferPtr &commandBuffer, const GPUComputePipelinePtr &computePipeline) | |
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. | |
| GPUComputePipeline * | mComputePipeline = nullptr |
| The compute pipeline to be bound within the scope. | |
A helper class that begins a scoped compute pipeline recording.
|
inlineexplicit |
Creates a new scope and calls begin() on the pipeline.
| commandBuffer | The command line to bind the pipeline to. |
| computePipeline | 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. |
| computePipeline | 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. |
| computePipeline | 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. |
| computePipeline | 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 compute pipeline to be bound within the scope.