Lluvia
ll::vulkan::Instance Class Reference

#include <Instance.h>

Public Member Functions

 Instance ()=delete
 
 Instance (const Instance &instance)=delete
 
 Instance (Instance &&instance)=delete
 
 Instance (bool debugEnabled)
 
 ~Instance ()
 
Instanceoperator= (const Instance &Instance)=delete
 
Instanceoperator= (Instance &&Instance)=delete
 
vk::Instance & get () noexcept
 

Static Public Member Functions

static bool hasReceivedVulkanWarningMessages ()
 returns whether or not the application has received messages through the debug callback. More...
 
static VkBool32 VKAPI_CALL debugCallback (VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData, void *pUserData)
 debug callback function to receive messages from the vulkan debug messenger. More...
 

Constructor & Destructor Documentation

◆ Instance() [1/4]

ll::vulkan::Instance::Instance ( )
delete

◆ Instance() [2/4]

ll::vulkan::Instance::Instance ( const Instance instance)
delete

◆ Instance() [3/4]

ll::vulkan::Instance::Instance ( Instance &&  instance)
delete

◆ Instance() [4/4]

ll::vulkan::Instance::Instance ( bool  debugEnabled)

◆ ~Instance()

ll::vulkan::Instance::~Instance ( )

Member Function Documentation

◆ debugCallback()

static VkBool32 VKAPI_CALL ll::vulkan::Instance::debugCallback ( VkDebugUtilsMessageSeverityFlagBitsEXT  messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT  messageType,
const VkDebugUtilsMessengerCallbackDataEXT *  pCallbackData,
void *  pUserData 
)
static

debug callback function to receive messages from the vulkan debug messenger.

Parameters
messageSeverity
messageType
pCallbackData
pUserData
Returns
false to continue the execution of the app.

◆ get()

vk::Instance& ll::vulkan::Instance::get ( )
noexcept

◆ hasReceivedVulkanWarningMessages()

static bool ll::vulkan::Instance::hasReceivedVulkanWarningMessages ( )
static

returns whether or not the application has received messages through the debug callback.

◆ operator=() [1/2]

Instance& ll::vulkan::Instance::operator= ( const Instance Instance)
delete

◆ operator=() [2/2]

Instance& ll::vulkan::Instance::operator= ( Instance &&  Instance)
delete

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