Hymn to Beauty
C++ 3D Engine
OpenGLRenderPassAllocator.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "../Interface/RenderPassAllocator.hpp"
4
5namespace Video {
6
9 public:
12
15
16 private:
17 RenderPass* AllocateRenderPass(Texture* colorAttachment, RenderPass::LoadOperation colorLoadOperation, Texture* depthAttachment, RenderPass::LoadOperation depthLoadOperation) final;
18 RenderPass* AllocateAttachmentlessRenderPass(const glm::uvec2& size, uint32_t msaaSamples) final;
19};
20
21}
OpenGL implementation of RenderPassAllocator.
Definition: OpenGLRenderPassAllocator.hpp:8
~OpenGLRenderPassAllocator() final
Destructor.
Definition: OpenGLRenderPassAllocator.cpp:11
OpenGLRenderPassAllocator()
Create a new render pass allocator.
Definition: OpenGLRenderPassAllocator.cpp:7
Responsible for allocating render passes and framebuffers.
Definition: RenderPassAllocator.hpp:11
A render pass.
Definition: RenderPass.hpp:11
LoadOperation
What to do with an image being rendered to before rendering to it.
Definition: RenderPass.hpp:14
A texture.
Definition: Texture.hpp:8
Definition: Editor.hpp:18