From 26f05c6e3dcac9995345fb5a2b031be7e3ea79e9 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 30 Oct 2021 22:59:42 +0800 Subject: *TextGenerator --- Runtime/Graphics/Texture.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Runtime/Graphics/Texture.h') diff --git a/Runtime/Graphics/Texture.h b/Runtime/Graphics/Texture.h index d02634c..6ead2fb 100644 --- a/Runtime/Graphics/Texture.h +++ b/Runtime/Graphics/Texture.h @@ -61,10 +61,13 @@ public: class Texture : public LuaBind::NativeClass { public: + Texture(TextureSetting setting, int width, int height)/*throw TextureException*/; // ΏΥΜωΝΌ Texture(TextureSetting setting, ImageData* imgData)/*throw TextureException*/; Texture(LuaBind::VM* vm, TextureSetting setting, ImageData* imgData)/*throw TextureException*/; ~Texture(); + void UpdateSubImage(Internal::Rect rect, int format, int type, const void* data); + GET(int, Width, m_Width); GET(int, Height, m_Height); -- cgit v1.1-26-g67d0