18#ifndef INCLUDED_RENDERER_BACKEND_VULKAN_SAMPLERMANAGER
19#define INCLUDED_RENDERER_BACKEND_VULKAN_SAMPLERMANAGER
23#include <glad/vulkan.h>
25#include <unordered_map>
66 std::unordered_map<Sampler::Desc, VkSampler, SamplerDescHash, SamplerDescEqual>
m_SamplerMap;
A helper class to store unique samplers.
Definition: SamplerManager.h:44
std::unordered_map< Sampler::Desc, VkSampler, SamplerDescHash, SamplerDescEqual > m_SamplerMap
Definition: SamplerManager.h:66
CSamplerManager(CDevice *device)
Definition: SamplerManager.cpp:75
~CSamplerManager()
Definition: SamplerManager.cpp:80
VkSampler GetOrCreateSampler(const Sampler::Desc &samplerDesc)
Definition: SamplerManager.cpp:91
CDevice * m_Device
Definition: SamplerManager.h:56
Backend
Definition: Backend.h:28
Definition: VideoMode.h:29
Definition: SamplerManager.h:63
bool operator()(const Sampler::Desc &lhs, const Sampler::Desc &rhs) const
Definition: SamplerManager.cpp:58
Definition: SamplerManager.h:59
size_t operator()(const Sampler::Desc &samplerDesc) const
Definition: SamplerManager.cpp:36