[Feat] (MG_Backend/DirectVulkan): implements uniform, ubo

This commit is contained in:
swung0x48 committed 2026-02-17 17:16:08 +08:00
1 parent f7ea6cd1d9
commit fe6e7902d3
9 files changed
+476 -4

No files matched your search

@@ -69,6 +69,7 @@ namespace MobileGL {
GLenum GetAttribType(Uint index) const { return m_attribTypes[index]; }
const String& GetAttribName(Uint index) const { return m_attribs[index]; }
void* MapUBO() { return m_uboScratch.data(); }
const void* GetUBOData() const { return m_uboScratch.data(); }
Uint GetUBOSize() const { return static_cast<Uint>(m_uboScratch.size()); }
void SetUniformSamplerOrImageUnitIndex(Uint location, Int unit) {