mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-26 19:22:16 +09:00
[Feat] (MG_Backend/DirectVulkan): implements uniform, ubo
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user