diff options
Diffstat (limited to 'Runtime/Graphics/Texture.h')
-rw-r--r-- | Runtime/Graphics/Texture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Runtime/Graphics/Texture.h b/Runtime/Graphics/Texture.h index 6ead2fb..9633db5 100644 --- a/Runtime/Graphics/Texture.h +++ b/Runtime/Graphics/Texture.h @@ -76,6 +76,8 @@ public: private: void Init(TextureSetting setting, ImageData* imgData); + //------------------------------------------------------------------------------ + GLuint m_GPUID; int m_Width, m_Height; @@ -89,6 +91,8 @@ private: LuaBind::MemberRef m_ImageData; //ͼƬÏñËØÊý¾Ý + //------------------------------------------------------------------------------ + LUA_BIND_DECL_CLASS(Texture); LUA_BIND_DECL_METHOD(_New); |