Hymn to Beauty
C++ 3D Engine
OpenGLRenderTargetAllocator.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "../Interface/RenderTargetAllocator.hpp"
4
5namespace Video {
6
9 public:
11
15 OpenGLRenderTargetAllocator(uint8_t frames, RenderPassAllocator* renderPassAllocator);
16
19
20 private:
21 Texture* AllocateRenderTarget(const glm::uvec2& size, Texture::Format format) final;
22};
23
24}
OpenGL implementation of RenderTargetAllocator.
Definition: OpenGLRenderTargetAllocator.hpp:8
~OpenGLRenderTargetAllocator() final
Destructor.
Definition: OpenGLRenderTargetAllocator.cpp:12
OpenGLRenderTargetAllocator(uint8_t frames, RenderPassAllocator *renderPassAllocator)
Create a new render target allocator.
Definition: OpenGLRenderTargetAllocator.cpp:8
Responsible for allocating render passes and framebuffers.
Definition: RenderPassAllocator.hpp:11
Responsible for allocating render targets.
Definition: RenderTargetAllocator.hpp:13
A texture.
Definition: Texture.hpp:8
Format
The format of the texture.
Definition: Texture.hpp:18
Definition: Editor.hpp:18