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

◆ operator=() [2/2]

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

Definition at line 170 of file VKShaderModule.cpp.

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