[Feat] (MG_Backend/DirectVulkan): initial real implementation of VkTextureSamplerManager

This commit is contained in:
2026-02-17 23:03:26 +08:00
parent c810b27a83
commit c2a0db3d12
8 changed files with 889 additions and 176 deletions
@@ -35,7 +35,7 @@ namespace MobileGL {
Int GetUniformMaxLength() const { return m_uniformNameMaxLength; }
Uint GetUniformCount() { return m_activeUniformCount; }
Uint GetMaxUniformLocation() const { return m_maxUniformLocation; }
Int GetUniformLocation(const String& name) {
Int GetUniformLocation(const String& name) const {
const auto it = m_uniformLocations.find(name);
if (it == m_uniformLocations.end()) return -1;
return (Int)it->second;