summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/graphics/image.h')
-rw-r--r--source/modules/asura-core/graphics/image.h10
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;