diff options
author | chai <chaifix@163.com> | 2021-11-01 16:53:51 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-01 16:53:51 +0800 |
commit | b7310c9cce95bfc9bfe135063ee0e97fbc654928 (patch) | |
tree | 459d37f0acd9b9dd6719b71d1ecc8620dc1f5fef /Runtime/Graphics/Texture.h | |
parent | 4dead522e513ffd326101b790b2129595f72ff42 (diff) |
*misc
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); |