1 #ifndef MSP_GL_SAMPLER_BACKEND_H_
2 #define MSP_GL_SAMPLER_BACKEND_H_
13 friend class VulkanPipelineState;
17 mutable VkSampler handle = 0;
18 std::string debug_name;
21 VulkanSampler(VulkanSampler &&);
24 static bool check_anisotropic(bool) { return true; }
26 void update(unsigned) const;
28 void set_debug_name(const std::string &);
29 void set_vulkan_object_name() const;
32 using SamplerBackend = VulkanSampler;
34 unsigned get_vulkan_filter(unsigned);
35 unsigned get_vulkan_mipmap_mode(unsigned);
36 unsigned get_vulkan_address_mode(unsigned);