From 07770f3ad369ff47386310b731d349f7af1fe0d9 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 21 Oct 2018 16:21:16 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/je_texture.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/libjin/Graphics/je_texture.h') diff --git a/src/libjin/Graphics/je_texture.h b/src/libjin/Graphics/je_texture.h index e5c9cff..5238aa1 100644 --- a/src/libjin/Graphics/je_texture.h +++ b/src/libjin/Graphics/je_texture.h @@ -13,6 +13,7 @@ namespace JinEngine { namespace Graphics { + /// /// /// @@ -22,7 +23,17 @@ namespace JinEngine /// /// /// - static Texture* createTexture(Bitmap* bitmap); + static Texture* createTexture(const char* path); + + /// + /// + /// + static Texture* createTexture(Bitmap* bitmap); + + /// + /// + /// + static Texture* createTexture(); /// /// -- cgit v1.1-26-g67d0