|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| vk::Sampler MayaFlux::Portal::Graphics::TextureLoom::get_or_create_sampler | ( | const SamplerConfig & | config | ) |
Get or create a sampler with the given configuration.
| config | Sampler configuration |
Samplers are cached - identical configs return same sampler. Managed by TextureLoom, destroyed on shutdown.
Definition at line 359 of file TextureLoom.cpp.
References create_sampler(), hash_sampler_config(), MayaFlux::Journal::ImageProcessing, is_initialized(), m_sampler_cache, MF_ERROR, and MayaFlux::Journal::Portal.
Referenced by get_default_sampler(), and get_nearest_sampler().
Here is the call graph for this function:
Here is the caller graph for this function: