Available on
vulkan
only.Expand description
Sampler cache for Vulkan backend.
Nearly identical to the DX12 sampler cache, without descriptor heap management.
Structs§
- Cache
Entry 🔒 - Entry in the sampler cache.
- Hashable
Sampler 🔒Create Info - [
vk::SamplerCreateInfo
] is not hashable, so we wrap it in a newtype that is. - Sampler
Cache 🔒 - Global sampler cache.
Constants§
- ENABLE_
SAMPLER_ 🔒CACHE_ CUTOFF - If the allowed sampler count is above this value, the sampler cache is disabled.