diff options
author | chai <chaifix@163.com> | 2019-03-31 14:34:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-31 14:34:40 +0800 |
commit | fb7ae1149a80a22c77014d0ece33f6f4b965b631 (patch) | |
tree | 41540b0962be735204eb50eef54bd30e9184234a /source/modules/asura-core/graphics/image.h | |
parent | 8164adb15b76f537f8b6c78b9992786b61d61cc8 (diff) |
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/image.h')
-rw-r--r-- | source/modules/asura-core/graphics/image.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/modules/asura-core/graphics/image.h b/source/modules/asura-core/graphics/image.h index 377e002..06108ed 100644 --- a/source/modules/asura-core/graphics/image.h +++ b/source/modules/asura-core/graphics/image.h @@ -33,7 +33,7 @@ namespace AsuraEngine { public: - LUAX_DECL_FACTORY(SimImage); + LUAX_DECL_FACTORY(Image); Image(); @@ -46,11 +46,9 @@ namespace AsuraEngine bool Refresh(AEIO::DecodedData* decodeData) override; bool Refresh(AEIO::DecodedData* decodeData, const AEMath::Recti& rect); - - uint GetWidth(); - uint GetHeight(); - Math::Vector2u GetSize(); - Color32 GetPixel(uint x, uint y); + uint GetWidth(); + uint GetHeight(); + Color32 GetPixel(uint x, uint y); void Render(const RenderTarget* rt, const RenderState& state) override; |