In this case a map is total overkill and its poor memory locality will always incur some performance hit. A vector here can only collect a very small amount of entries so the time to search is nearly irrelevant. |
||
|---|---|---|
| .. | ||
| vk_hwtexture.cpp | ||
| vk_hwtexture.h | ||
| vk_samplers.cpp | ||
| vk_samplers.h | ||