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

◆ operator=() [2/2]

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

Definition at line 110 of file VKShaderModule.cpp.

111{
112 if (this != &other) {
113 if (m_module) {
115 "VKShaderModule move-assigned without cleanup() - potential leak");
116 }
117
118 m_module = other.m_module;
119 m_stage = other.m_stage;
120 m_entry_point = std::move(other.m_entry_point);
121 m_reflection = std::move(other.m_reflection);
122 m_spirv_code = std::move(other.m_spirv_code);
123 m_preserve_spirv = other.m_preserve_spirv;
124 m_specialization_map = std::move(other.m_specialization_map);
125 m_specialization_entries = std::move(other.m_specialization_entries);
126 m_specialization_data = std::move(other.m_specialization_data);
127 m_specialization_info = other.m_specialization_info;
128
129 other.m_module = nullptr;
130 }
131 return *this;
132}
#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.