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

◆ cleanup()

void MayaFlux::Buffers::ShaderProcessor::cleanup ( )
protectedvirtual

Reimplemented in MayaFlux::Buffers::ComputeProcessor, and MayaFlux::Buffers::RenderProcessor.

Definition at line 728 of file ShaderProcessor.cpp.

729{
731 auto& foundry = Portal::Graphics::get_shader_foundry();
732 auto& compute_press = Portal::Graphics::get_compute_press();
733
735 foundry.destroy_shader(m_shader_id);
737 }
738
739 m_descriptor_set_ids.clear();
740 m_bound_buffers.clear();
741 m_feeds.clear();
742 m_initialized = false;
743}
std::unordered_map< std::string, std::shared_ptr< VKBuffer > > m_bound_buffers
Portal::Graphics::ShaderID m_shader_id
bool resolve_pending_dispatch(bool block)
Resolve an outstanding asynchronous submission.
std::unordered_map< std::string, Feed > m_feeds
std::vector< Portal::Graphics::DescriptorSetID > m_descriptor_set_ids
constexpr ShaderID INVALID_SHADER
MAYAFLUX_API ShaderFoundry & get_shader_foundry()
Get the global shader compiler instance.
MAYAFLUX_API ComputePress & get_compute_press()

References MayaFlux::Portal::Graphics::get_compute_press(), MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Portal::Graphics::INVALID_SHADER, m_bound_buffers, m_descriptor_set_ids, m_feeds, m_initialized, m_shader_id, and resolve_pending_dispatch().

Referenced by MayaFlux::Buffers::RenderProcessor::cleanup(), and ~ShaderProcessor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: