mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 12:48:32 +09:00
[Feat] (MG_State/RenderbufferState): Add RenderbufferObject::GetExternalIndex()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace MobileGL {
|
||||
|
||||
RenderbufferObject(Uint externalIndex);
|
||||
|
||||
Uint GetExternalIndex() const;
|
||||
void SetInternalFormat(TextureInternalFormat format);
|
||||
void AllocateStorage(IntVec2 size);
|
||||
Int GetWidth() const;
|
||||
|
||||
Reference in New Issue
Block a user