Tutorial for the Vulkan graphics and compute API
Creative Commons Attribution Share Alike 4.0 International
3.06k
stars
511
forks
source link
Use `VK_LOD_CLAMP_NONE` constant to set mipmap max LOD level in sampler #354
Closed
Calinou closed 10 months ago
This allows for using different texture sizes without having to know the mipmap count in advance.
All conformant Vulkan implementations should be able to handle this constant, which is equal to
1000.0f
.See Disqus comments on https://vulkan-tutorial.com/Generating_Mipmaps for context.