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.