SimpleGL
1.1.0
A framework for platform independent rendering
|
This class wraps a Vulkan framebuffer. More...
#include <framebuffer.hpp>
Public Member Functions | |
FramebufferVK (RenderPass *renderPass, VkImageView imageView) | |
Creates a new framebuffer. More... | |
~FramebufferVK (void) | |
Destroys the framebuffer. More... | |
VkFramebuffer | getHandle () |
Returns the handle of the framebuffer. More... | |
DepthStencilBuffer | getDepthStencilBuffer () |
Returns the depth stencil buffer of the framebuffer. More... | |
This class wraps a Vulkan framebuffer.
Definition at line 44 of file framebuffer.hpp.
sgl::FramebufferVK::FramebufferVK | ( | RenderPass * | renderPass, |
VkImageView | imageView | ||
) |
Creates a new framebuffer.
renderPass | The render pass for this framebuffer. |
imageView | The image view for the framebuffer. |
Definition at line 20 of file framebuffer.cpp.
sgl::FramebufferVK::~FramebufferVK | ( | void | ) |
Destroys the framebuffer.
Definition at line 44 of file framebuffer.cpp.
DepthStencilBuffer sgl::FramebufferVK::getDepthStencilBuffer | ( | ) |
Returns the depth stencil buffer of the framebuffer.
Definition at line 55 of file framebuffer.cpp.
VkFramebuffer sgl::FramebufferVK::getHandle | ( | ) |
Returns the handle of the framebuffer.
Definition at line 51 of file framebuffer.cpp.