|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Implementation of ISurface for Vulkan. More...
#include <VulkanSurface.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| VulkanSurface (const VkSurfaceKHR &surface, const VkInstance &instance) | |
| Initializes the surface from a surface, instance and window handle. | |
| VulkanSurface (const VulkanSurface &other)=delete | |
| VulkanSurface (VulkanSurface &&other) noexcept=delete | |
| VulkanSurface & | operator= (const VulkanSurface &other)=delete |
| VulkanSurface & | operator= (VulkanSurface &&other) noexcept=delete |
| const VkInstance & | instance () const noexcept |
| Gets the backend handle from which the surface was created. | |
Public Member Functions inherited from spark::render::Resource< VkSurfaceKHR > | |
| Resource (VkSurfaceKHR handle) noexcept | |
| Initializes the managed resource with the given handle. | |
| Resource (const Resource &other)=delete | |
| Resource (Resource &&other) noexcept=delete | |
| Resource & | operator= (const Resource &other)=delete |
| Resource & | operator= (Resource &&other) noexcept=delete |
| const VkSurfaceKHR & | handle () const final |
| Gets the managed resource handle. | |
Additional Inherited Members | |
Public Types inherited from spark::render::IResource< VkSurfaceKHR > | |
| using | handle_type |
Protected Member Functions inherited from spark::render::Resource< VkSurfaceKHR > | |
| VkSurfaceKHR & | handle () final |
| Gets the managed resource handle. | |
Implementation of ISurface for Vulkan.
| spark::render::vk::VulkanSurface::VulkanSurface | ( | const VkSurfaceKHR & | surface, |
| const VkInstance & | instance ) |
Initializes the surface from a surface, instance and window handle.
| surface | A VulkanSurfaceKHR handle to the vulkan surface. |
| instance | A VkInstance handle to the parent instance. |
|
nodiscardnoexcept |
Gets the backend handle from which the surface was created.