From fa2bf295fa9646a3052ab0498a4577f586eadef0 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 1 Apr 2019 08:55:57 +0800 Subject: *misc --- source/modules/asura-core/graphics/image.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'source/modules/asura-core/graphics/image.h') diff --git a/source/modules/asura-core/graphics/image.h b/source/modules/asura-core/graphics/image.h index 2424ebb..30df8c0 100644 --- a/source/modules/asura-core/graphics/image.h +++ b/source/modules/asura-core/graphics/image.h @@ -56,11 +56,7 @@ namespace AsuraEngine private: - /// - /// 一张图片保存一个像素数据的引用。 - /// - ImageData* mImageData; - Luax::LuaxMemberRef mImageDataRef; + //----------------------------------------------------------------------------// LUAX_DECL_METHOD(_New); LUAX_DECL_METHOD(_Refresh); @@ -70,6 +66,14 @@ namespace AsuraEngine LUAX_DECL_METHOD(_GetPixel); LUAX_DECL_METHOD(_Render); + //----------------------------------------------------------------------------// + + /// + /// 一张图片保存一个像素数据的引用。 + /// + ImageData* mImageData; + Luax::LuaxMemberRef mImageDataRef; + }; } -- cgit v1.1-26-g67d0