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

◆ operator=() [2/2]

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

Definition at line 77 of file VKShaderModule.cpp.

78{
79 if (this != &other) {
80 if (m_module) {
82 "VKShaderModule move-assigned without cleanup() - potential leak");
83 }
84
85 m_module = other.m_module;
86 m_stage = other.m_stage;
87 m_entry_point = std::move(other.m_entry_point);
88 m_reflection = std::move(other.m_reflection);
89 m_spirv_code = std::move(other.m_spirv_code);
90 m_preserve_spirv = other.m_preserve_spirv;
91 m_specialization_map = std::move(other.m_specialization_map);
92 m_specialization_entries = std::move(other.m_specialization_entries);
93 m_specialization_data = std::move(other.m_specialization_data);
94 m_specialization_info = other.m_specialization_info;
95
96 other.m_module = nullptr;
97 }
98 return *this;
99}
#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.