MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ operator=() [2/2]

VKInstance & MayaFlux::Core::VKInstance::operator= ( VKInstance &&  other)
noexcept

Definition at line 27 of file VKInstance.cpp.

28{
29 if (this != &other) {
30 cleanup();
31 m_instance = other.m_instance;
32 m_debug_messenger = other.m_debug_messenger;
33 m_validation_enabled = other.m_validation_enabled;
34
35 other.m_instance = nullptr;
36 other.m_debug_messenger = nullptr;
37 }
38 return *this;
39}
void cleanup()
Cleanup Vulkan instance.
bool m_validation_enabled
Flag to indicate if validation layers are enabled.
vk::Instance m_instance
Vulkan instance handle.
vk::DebugUtilsMessengerEXT m_debug_messenger
Debug messenger for validation layers.