|
Aeon Engine c550894
AeonGames Open Source Game Engine
|
Vulkan framebuffer object for off-screen rendering. More...
#include <C:/Code/AeonEngine/engine/renderers/vulkan/VulkanFrameBuffer.hpp>


Public Member Functions | |
| void | LoadFromPBMsg (const FrameBufferMsg &aFrameBufferMsg) |
| Initialize the frame buffer from a protobuf message. | |
| void | Unload () |
| Release all resources held by this frame buffer. | |
| void | Resize (uint32_t aWidth, uint32_t aHeight) |
| Resize the frame buffer to new dimensions. | |
| void | Bind () |
| Bind this frame buffer as the current render target. | |
| void | Unbind () |
| Unbind this frame buffer, restoring the previous render target. | |
| Public Member Functions inherited from AeonGames::Resource | |
| virtual | ~Resource () |
| Virtual destructor. | |
| virtual void | LoadFromMemory (const void *aBuffer, size_t aBufferSize)=0 |
| Load the resource from a raw memory buffer. | |
| DLL void | LoadFromId (uint32_t aId) |
| Load the resource identified by a numeric id. | |
| DLL void | LoadFromFile (const std::string &aFilename) |
| Load the resource from a file on disk. | |
| DLL size_t | GetConsecutiveId () const |
| Get the Consecutive Id for the resource object. | |
Vulkan framebuffer object for off-screen rendering.
Definition at line 25 of file VulkanFrameBuffer.hpp.
| AeonGames::VulkanFrameBuffer::~VulkanFrameBuffer | ( | ) |
Definition at line 32 of file VulkanFrameBuffer.cpp.
|
virtual |
Bind this frame buffer as the current render target.
Implements AeonGames::FrameBuffer.
Definition at line 45 of file VulkanFrameBuffer.cpp.
|
virtual |
Initialize the frame buffer from a protobuf message.
| aFrameBufferMsg | Protobuf message describing the frame buffer configuration. |
Implements AeonGames::FrameBuffer.
Definition at line 36 of file VulkanFrameBuffer.cpp.
|
virtual |
Resize the frame buffer to new dimensions.
| aWidth | New width in pixels. |
| aHeight | New height in pixels. |
Implements AeonGames::FrameBuffer.
Definition at line 44 of file VulkanFrameBuffer.cpp.
|
virtual |
Unbind this frame buffer, restoring the previous render target.
Implements AeonGames::FrameBuffer.
Definition at line 46 of file VulkanFrameBuffer.cpp.
|
virtual |
Release all resources held by this frame buffer.
Implements AeonGames::FrameBuffer.
Definition at line 40 of file VulkanFrameBuffer.cpp.