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
5
namespace
Video
{
6
8
class
OpenGLRenderTargetAllocator
:
public
RenderTargetAllocator
{
9
public
:
11
15
OpenGLRenderTargetAllocator
(uint8_t frames,
RenderPassAllocator
* renderPassAllocator);
16
18
~OpenGLRenderTargetAllocator
()
final
;
19
20
private
:
21
Texture
* AllocateRenderTarget(
const
glm::uvec2& size,
Texture::Format
format)
final
;
22
};
23
24
}
Video::OpenGLRenderTargetAllocator
OpenGL implementation of RenderTargetAllocator.
Definition:
OpenGLRenderTargetAllocator.hpp:8
Video::OpenGLRenderTargetAllocator::~OpenGLRenderTargetAllocator
~OpenGLRenderTargetAllocator() final
Destructor.
Definition:
OpenGLRenderTargetAllocator.cpp:12
Video::OpenGLRenderTargetAllocator::OpenGLRenderTargetAllocator
OpenGLRenderTargetAllocator(uint8_t frames, RenderPassAllocator *renderPassAllocator)
Create a new render target allocator.
Definition:
OpenGLRenderTargetAllocator.cpp:8
Video::RenderPassAllocator
Responsible for allocating render passes and framebuffers.
Definition:
RenderPassAllocator.hpp:11
Video::RenderTargetAllocator
Responsible for allocating render targets.
Definition:
RenderTargetAllocator.hpp:13
Video::Texture
A texture.
Definition:
Texture.hpp:8
Video::Texture::Format
Format
The format of the texture.
Definition:
Texture.hpp:18
Video
Definition:
Editor.hpp:18
src
Video
LowLevelRenderer
OpenGL
OpenGLRenderTargetAllocator.hpp
Generated by
1.9.2