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

◆ operator=() [2/2]

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

Definition at line 97 of file VKShaderModule.cpp.

98{
99 if (this != &other) {
100 if (m_module) {
102 "VKShaderModule move-assigned without cleanup() - potential leak");
103 }
104
105 m_module = other.m_module;
106 m_stage = other.m_stage;
107 m_entry_point = std::move(other.m_entry_point);
108 m_reflection = std::move(other.m_reflection);
109 m_spirv_code = std::move(other.m_spirv_code);
110 m_preserve_spirv = other.m_preserve_spirv;
111 m_specialization_map = std::move(other.m_specialization_map);
112 m_specialization_entries = std::move(other.m_specialization_entries);
113 m_specialization_data = std::move(other.m_specialization_data);
114 m_specialization_info = other.m_specialization_info;
115
116 other.m_module = nullptr;
117 }
118 return *this;
119}
#define MF_WARN(comp, ctx,...)
vk::SpecializationInfo m_specialization_info
std::vector< vk::SpecializationMapEntry > m_specialization_entries
vk::ShaderStageFlagBits m_stage
std::vector< uint32_t > m_specialization_data
std::unordered_map< uint32_t, uint32_t > m_specialization_map
std::vector< uint32_t > m_spirv_code
Preserved SPIR-V (if enabled)
@ GraphicsBackend
Graphics/visual rendering backend (Vulkan, OpenGL)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, and MF_WARN.