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

◆ clear_cache()

void MayaFlux::Portal::Graphics::ShaderFoundry::clear_cache ( )

Invalidate entire shader cache.

Forces all subsequent compilations to recompile. Does NOT destroy existing shader modules (they remain valid).

Definition at line 525 of file ShaderFoundry.cpp.

526{
527 m_shader_cache.clear();
529 "Cleared shader cache");
530}
#define MF_INFO(comp, ctx,...)
std::unordered_map< std::string, std::shared_ptr< Core::VKShaderModule > > m_shader_cache
@ ShaderCompilation
Shader compilation tasks (Portal::Graphics::ShaderCompiler)
@ Portal
High-level user-facing API layer.

References m_shader_cache, MF_INFO, MayaFlux::Journal::Portal, and MayaFlux::Journal::ShaderCompilation.