Hubris Engine Dev
A Project to learn and get into Game Engine developement.
 
Loading...
Searching...
No Matches
Hubris::Graphics::Vulkan::vkSwapchain Class Referencefinal

#include <vkSwapchain.h>

+ Inheritance diagram for Hubris::Graphics::Vulkan::vkSwapchain:
+ Collaboration diagram for Hubris::Graphics::Vulkan::vkSwapchain:

Public Member Functions

 vkSwapchain (VkSwapchainKHR swapchain, VkFormat format, VkExtent2D extent) noexcept
 
 ~vkSwapchain () noexcept
 
SwapchainResult AcquireNextImage (uint32_t &imageIndex) override
 
void * GetImage (uint32_t imageIndex) const override
 
SwapchainResult Present (uint32_t imageIndex) override
 
void Resize (uint32_t width, uint32_t height) override
 
size_t GetImageCount () const override
 
virtual Format GetImageFormat () const noexcept override
 
virtual bool IsValid () const noexcept override
 
virtual void Destroy () noexcept
 
- Public Member Functions inherited from Hubris::Graphics::Swapchain
virtual ~Swapchain ()=default
 

Detailed Description

Definition at line 7 of file vkSwapchain.h.

Constructor & Destructor Documentation

◆ vkSwapchain()

Hubris::Graphics::Vulkan::vkSwapchain::vkSwapchain ( VkSwapchainKHR swapchain,
VkFormat format,
VkExtent2D extent )
noexcept

Definition at line 9 of file vkSwapchain.cpp.

+ Here is the call graph for this function:

◆ ~vkSwapchain()

Hubris::Graphics::Vulkan::vkSwapchain::~vkSwapchain ( )
noexcept

Definition at line 48 of file vkSwapchain.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ AcquireNextImage()

SwapchainResult Hubris::Graphics::Vulkan::vkSwapchain::AcquireNextImage ( uint32_t & imageIndex)
overridevirtual

Implements Hubris::Graphics::Swapchain.

Definition at line 54 of file vkSwapchain.cpp.

◆ Destroy()

void Hubris::Graphics::Vulkan::vkSwapchain::Destroy ( )
virtualnoexcept

Implements Hubris::Graphics::Swapchain.

Definition at line 88 of file vkSwapchain.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetImage()

void * Hubris::Graphics::Vulkan::vkSwapchain::GetImage ( uint32_t imageIndex) const
overridevirtual

Implements Hubris::Graphics::Swapchain.

Definition at line 59 of file vkSwapchain.cpp.

◆ GetImageCount()

size_t Hubris::Graphics::Vulkan::vkSwapchain::GetImageCount ( ) const
overridevirtual

Implements Hubris::Graphics::Swapchain.

Definition at line 73 of file vkSwapchain.cpp.

◆ GetImageFormat()

Format Hubris::Graphics::Vulkan::vkSwapchain::GetImageFormat ( ) const
overridevirtualnoexcept

Implements Hubris::Graphics::Swapchain.

Definition at line 78 of file vkSwapchain.cpp.

+ Here is the call graph for this function:

◆ IsValid()

bool Hubris::Graphics::Vulkan::vkSwapchain::IsValid ( ) const
overridevirtualnoexcept

Implements Hubris::Graphics::Swapchain.

Definition at line 83 of file vkSwapchain.cpp.

◆ Present()

SwapchainResult Hubris::Graphics::Vulkan::vkSwapchain::Present ( uint32_t imageIndex)
overridevirtual

Implements Hubris::Graphics::Swapchain.

Definition at line 64 of file vkSwapchain.cpp.

◆ Resize()

void Hubris::Graphics::Vulkan::vkSwapchain::Resize ( uint32_t width,
uint32_t height )
overridevirtual

Implements Hubris::Graphics::Swapchain.

Definition at line 69 of file vkSwapchain.cpp.


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