|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| vk::Sampler MayaFlux::Portal::Graphics::SamplerForge::get_or_create | ( | const SamplerConfig & | config | ) |
Get or create a sampler with the given configuration.
| config | Sampler configuration |
Samplers are cached - identical configs return the same sampler. All samplers are destroyed on shutdown.
Definition at line 71 of file SamplerForge.cpp.
References create_sampler(), hash_config(), MayaFlux::Journal::ImageProcessing, is_initialized(), m_sampler_cache, MF_DEBUG, MF_ERROR, and MayaFlux::Journal::Portal.
Referenced by get_anisotropic(), get_default_linear(), and get_default_nearest().
Here is the call graph for this function:
Here is the caller graph for this function: