SimpleGL  1.1.0
A framework for platform independent rendering
Public Member Functions | List of all members
sgl::FramebufferVK Class Reference

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...
 

Detailed Description

This class wraps a Vulkan framebuffer.

Definition at line 44 of file framebuffer.hpp.

Constructor & Destructor Documentation

sgl::FramebufferVK::FramebufferVK ( RenderPass renderPass,
VkImageView  imageView 
)

Creates a new framebuffer.

Parameters
renderPassThe render pass for this framebuffer.
imageViewThe 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.

Member Function Documentation

DepthStencilBuffer sgl::FramebufferVK::getDepthStencilBuffer ( )

Returns the depth stencil buffer of the framebuffer.

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.

Returns
The handle of the framebuffer.

Definition at line 51 of file framebuffer.cpp.


The documentation for this class was generated from the following files: