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

◆ create_sampler()

vk::Sampler MayaFlux::Portal::Graphics::TextureLoom::create_sampler ( const SamplerConfig config)
private

Definition at line 394 of file TextureLoom.cpp.

395{
397 static_cast<vk::Filter>(config.mag_filter),
398 static_cast<vk::SamplerAddressMode>(config.address_mode_u),
399 config.max_anisotropy);
400}
vk::Sampler create_sampler(vk::Filter filter=vk::Filter::eLinear, vk::SamplerAddressMode address_mode=vk::SamplerAddressMode::eRepeat, float max_anisotropy=0.0F)
Create sampler.
Core::BackendResourceManager * m_resource_manager

References MayaFlux::Portal::Graphics::SamplerConfig::address_mode_u, MayaFlux::Core::BackendResourceManager::create_sampler(), m_resource_manager, MayaFlux::Portal::Graphics::SamplerConfig::mag_filter, and MayaFlux::Portal::Graphics::SamplerConfig::max_anisotropy.

Referenced by get_or_create_sampler().

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