|
CeresEngine 0.2.0
A game development framework
|
A structure that contains context given by the renderer to render it's objects. More...
#include <CeresEngine/Renderer/Renderer.hpp>
Public Member Functions | |
| RendererContext (GPUCommandBuffer &commandBuffer, AnyExecutor executor) | |
Creates a new RendererContext with the given command buffer. | |
Public Attributes | |
| GPUDevice & | device |
| The device being used for rendering. | |
| GPUCommandBuffer & | commandBuffer |
| A command buffer to submit any graphics command required. | |
| GPUUniformBufferPool | uniforms |
| A uniform buffer pool to be used when allocating temporary uniform buffers. | |
| GPUStorageBufferPool | storage |
| A uniform buffer pool to be used when allocating temporary storage buffers. | |
| AnyExecutor | executor |
| The executor that will be used to schedule renderer tasks. | |
A structure that contains context given by the renderer to render it's objects.
|
explicit |
Creates a new RendererContext with the given command buffer.
| commandBuffer | The command buffer to create a new RendererContext from. |
| GPUCommandBuffer& CeresEngine::RendererContext::commandBuffer |
A command buffer to submit any graphics command required.
| GPUDevice& CeresEngine::RendererContext::device |
The device being used for rendering.
| AnyExecutor CeresEngine::RendererContext::executor |
The executor that will be used to schedule renderer tasks.
| GPUStorageBufferPool CeresEngine::RendererContext::storage |
A uniform buffer pool to be used when allocating temporary storage buffers.
| GPUUniformBufferPool CeresEngine::RendererContext::uniforms |
A uniform buffer pool to be used when allocating temporary uniform buffers.