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

◆ operator=() [2/2]

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

Definition at line 29 of file VKComputePipeline.cpp.

30{
31 if (this != &other) {
32 if (m_pipeline || m_layout) {
34 "VKComputePipeline move-assigned without cleanup() - potential leak");
35 }
36
37 m_pipeline = other.m_pipeline;
38 m_layout = other.m_layout;
39 m_workgroup_size = other.m_workgroup_size;
40 m_shader = std::move(other.m_shader);
41
42 other.m_pipeline = nullptr;
43 other.m_layout = nullptr;
44 }
45 return *this;
46}
#define MF_WARN(comp, ctx,...)
std::optional< std::array< uint32_t, 3 > > m_workgroup_size
std::shared_ptr< VKShaderModule > m_shader
@ GraphicsBackend
Graphics/visual rendering backend (Vulkan, OpenGL)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, and MF_WARN.