working on swapchains

This commit is contained in:
2024-11-26 23:11:03 +01:00
parent 32b6053cfb
commit 122f4e8403
12 changed files with 84 additions and 29 deletions

View File

@@ -36,7 +36,7 @@ namespace mlx
if(event.What() == Event::ResizeEventCode)
m_pipeline.Destroy();
};
EventBus::RegisterListener({ functor, "__MlxFinalPass" });
EventBus::RegisterListener({ functor, "mlx_final_pass" });
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool().RequestDescriptorSet(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment);
}