|
Hymn to Beauty
C++ 3D Engine
|
OpenGL implementation of RenderTargetAllocator. More...
#include <OpenGLRenderTargetAllocator.hpp>
Public Member Functions | |
| OpenGLRenderTargetAllocator (uint8_t frames, RenderPassAllocator *renderPassAllocator) | |
| Create a new render target allocator. More... | |
| ~OpenGLRenderTargetAllocator () final | |
| Destructor. More... | |
Public Member Functions inherited from Video::RenderTargetAllocator | |
| RenderTargetAllocator (uint8_t frames, RenderPassAllocator *renderPassAllocator) | |
| Create a new render target allocator. More... | |
| virtual | ~RenderTargetAllocator () |
| Destructor. More... | |
| virtual void | BeginFrame () |
| Call at the beginning of each frame. More... | |
| Texture * | CreateRenderTarget (const glm::uvec2 &size, Texture::Format format) |
| Create a render target. More... | |
| void | FreeRenderTarget (Texture *renderTarget) |
| Free a render target. More... | |
OpenGL implementation of RenderTargetAllocator.
| Video::OpenGLRenderTargetAllocator::OpenGLRenderTargetAllocator | ( | uint8_t | frames, |
| RenderPassAllocator * | renderPassAllocator | ||
| ) |
Create a new render target allocator.
| frames | How many frames before re-using buffers. |
| renderPassAllocator | Render pass allocator. |
|
final |
Destructor.