|
The Joe Engine
Joe's engine programming playground
|
The Vulkan validation layers class. More...
#include <VulkanValidationLayers.h>
Public Member Functions | |
| JEVulkanValidationLayers () | |
| Constructor. More... | |
| ~JEVulkanValidationLayers ()=default | |
| Destructor (default). More... | |
| void | SetupDebugCallback (const VkInstance &instance) |
| Setup debug callback. More... | |
| void | DestroyDebugCallback (const VkInstance &instance) |
| Destroy debug callback. More... | |
| bool | CheckValidationLayerSupport () const |
| Check for validation layer support. More... | |
| const bool | AreValidationLayersEnabled () const |
| Get validation layers enabled flag. More... | |
| const std::vector< const char * > & | GetValidationLayers () const |
| Get validation layers list. More... | |
The Vulkan validation layers class.
Wrapper class for vulkan validation layers.
|
inline |
Constructor.
Initializes enable flag and validation layer list.
|
default |
Destructor (default).
|
inline |
Get validation layers enabled flag.
Return validation layers enabled flag.
| bool JoeEngine::JEVulkanValidationLayers::CheckValidationLayerSupport | ( | ) | const |
Check for validation layer support.
Ensure that the requested validation layer(s) are available.
| void JoeEngine::JEVulkanValidationLayers::DestroyDebugCallback | ( | const VkInstance & | instance | ) |
Destroy debug callback.
Makes Vulkan calls to destroy the debug callback function.
| instance | the Vulkan instance to destroy the callback with. |
|
inline |
Get validation layers list.
Return the validation layers string list.
| void JoeEngine::JEVulkanValidationLayers::SetupDebugCallback | ( | const VkInstance & | instance | ) |
Setup debug callback.
Makes Vulkan calls to setup the debug callback function.
| instance | the Vulkan instance to setup the callback with. |