diff options
Diffstat (limited to 'Runtime/Graphics/ImageData.h')
-rw-r--r-- | Runtime/Graphics/ImageData.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Runtime/Graphics/ImageData.h b/Runtime/Graphics/ImageData.h index 4525ee3..7bf0335 100644 --- a/Runtime/Graphics/ImageData.h +++ b/Runtime/Graphics/ImageData.h @@ -46,27 +46,4 @@ private: LUA_BIND_DECL_METHOD(_GetSize); }; -enum EImageDataAsyncError -{ - NoFile = 1, - ParseFailed = 2, - InvalidFormat = 3, -}; - -struct ImageDataRequest -{ - bool isDone, hasError; - int error; - int progress, all; - ImageData* result; - std::vector<ImageData*> results; -}; - -namespace ImageDataUtil -{ - ImageData* Load(const char* path); - ImageDataRequest* LoadAsync(const char* path); - ImageDataRequest* LoadAsync(std::vector<const char*> paths); -} - #endif
\ No newline at end of file |