Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
VulkanFrameBuffer.hpp
1/*
2Copyright (C) 2019,2021,2025,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16#ifndef AEONGAMES_VULKANFRAMEBUFFER_HPP
17#define AEONGAMES_VULKANFRAMEBUFFER_HPP
18#include <cstddef>
19#include "aeongames/FrameBuffer.hpp"
20
21namespace AeonGames
22{
23 class VulkanRenderer;
25 class VulkanFrameBuffer : public FrameBuffer
26 {
27 public:
28 VulkanFrameBuffer ();
29 ~VulkanFrameBuffer();
30 void LoadFromPBMsg ( const FrameBufferMsg& aFrameBufferMsg );
31 void Unload ();
32 void Resize ( uint32_t aWidth, uint32_t aHeight );
33 void Bind();
34 void Unbind();
35 private:
36 };
37}
38#endif
Abstract interface for off-screen render target (frame buffer) resources.
void Bind()
Bind this frame buffer as the current render target.
void LoadFromPBMsg(const FrameBufferMsg &aFrameBufferMsg)
Initialize the frame buffer from a protobuf message.
void Resize(uint32_t aWidth, uint32_t aHeight)
Resize the frame buffer to new dimensions.
void Unbind()
Unbind this frame buffer, restoring the previous render target.
void Unload()
Release all resources held by this frame buffer.
Vulkan rendering backend implementing the Renderer interface.
<- This is here just for the literals
Definition AABB.hpp:31