Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
VulkanFrameBuffer.cpp
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*/
17#ifdef _MSC_VER
18#pragma warning( push )
19#pragma warning( disable : PROTOBUF_WARNINGS )
20#endif
21#include "framebuffer.pb.h"
22#ifdef _MSC_VER
23#pragma warning( pop )
24#endif
25#include "VulkanFrameBuffer.hpp"
26#include "aeongames/CRC.hpp"
27#include "aeongames/AeonEngine.hpp"
28
29namespace AeonGames
30{
31 VulkanFrameBuffer::VulkanFrameBuffer() = default;
32 VulkanFrameBuffer::~VulkanFrameBuffer()
33 {
34 Unload();
35 }
36 void VulkanFrameBuffer::LoadFromPBMsg ( const FrameBufferMsg& aFrameBufferMsg )
37 {
39 }
41 {
43 }
44 void VulkanFrameBuffer::Resize ( uint32_t aWidth, uint32_t aHeight ) {}
47}
Provides the DLL_PROTOBUF export/import macro for protobuf wrapper classes.
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.
<- This is here just for the literals
Definition AABB.hpp:31