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

◆ operator=() [2/2]

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

Definition at line 202 of file VKShaderModule.cpp.

203{
204 if (this != &other) {
205 if (m_module) {
207 "VKShaderModule move-assigned without cleanup() - potential leak");
208 }
209
210 m_module = other.m_module;
211 m_stage = other.m_stage;
212 m_entry_point = std::move(other.m_entry_point);
213 m_reflection = std::move(other.m_reflection);
214 m_active_bindings = std::move(other.m_active_bindings);
215 m_spirv_code = std::move(other.m_spirv_code);
216 m_preserve_spirv = other.m_preserve_spirv;
217 m_specialization_map = std::move(other.m_specialization_map);
218 m_specialization_entries = std::move(other.m_specialization_entries);
219 m_specialization_data = std::move(other.m_specialization_data);
220 m_specialization_info = other.m_specialization_info;
221
222 other.m_module = nullptr;
223 }
224 return *this;
225}
#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::vector< ShaderReflection::DescriptorBinding > m_active_bindings
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.