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

◆ operator=() [2/2]

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

Definition at line 169 of file VKShaderModule.cpp.

170{
171 if (this != &other) {
172 if (m_module) {
174 "VKShaderModule move-assigned without cleanup() - potential leak");
175 }
176
177 m_module = other.m_module;
178 m_stage = other.m_stage;
179 m_entry_point = std::move(other.m_entry_point);
180 m_reflection = std::move(other.m_reflection);
181 m_spirv_code = std::move(other.m_spirv_code);
182 m_preserve_spirv = other.m_preserve_spirv;
183 m_specialization_map = std::move(other.m_specialization_map);
184 m_specialization_entries = std::move(other.m_specialization_entries);
185 m_specialization_data = std::move(other.m_specialization_data);
186 m_specialization_info = other.m_specialization_info;
187
188 other.m_module = nullptr;
189 }
190 return *this;
191}
#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.