summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/ImageDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Engine/Graphics/ImageDecoder.h')
-rw-r--r--Source/Asura.Engine/Graphics/ImageDecoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Asura.Engine/Graphics/ImageDecoder.h b/Source/Asura.Engine/Graphics/ImageDecoder.h
index 9dc2188..2c73fd1 100644
--- a/Source/Asura.Engine/Graphics/ImageDecoder.h
+++ b/Source/Asura.Engine/Graphics/ImageDecoder.h
@@ -10,7 +10,7 @@ namespace AsuraEngine
namespace Graphics
{
- class ImageDecoder : virtual public Object
+ class ImageDecoder
{
public:
@@ -20,12 +20,12 @@ namespace AsuraEngine
///
/// жڴǷñdecoderѹ
///
- virtual bool CanDecode(const Filesystem::DataBuffer* buffer) = 0;
+ virtual bool CanDecode(const Filesystem::DataBuffer& buffer) = 0;
///
/// һڴ棬һѹImage dataѹʧܷnullptr
///
- virtual void Decode(const Filesystem::DataBuffer* buffer, ImageData* data) = 0;
+ virtual void Decode(const Filesystem::DataBuffer& buffer, ImageData& data) = 0;
};