[Feat] (MG_State/RenderbufferState): Add RenderbufferObject::GetExternalIndex()

This commit is contained in:
BZLZHH
2025-12-31 19:57:46 +08:00
parent e5c3a6beba
commit c902721683
2 changed files with 5 additions and 0 deletions
@@ -13,6 +13,10 @@ namespace MobileGL {
namespace GLState {
RenderbufferObject::RenderbufferObject(Uint externalIndex) : m_externalIndex(externalIndex) {}
Uint RenderbufferObject::GetExternalIndex() const {
return m_externalIndex;
}
Int RenderbufferObject::GetWidth() const {
return m_width;
}