diff options
author | chai <chaifix@163.com> | 2021-10-27 19:30:06 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-27 19:30:06 +0800 |
commit | 51ced5a191078ce4ef08d57e343e91db007f556f (patch) | |
tree | 72dce341b2019e5b14c789a9edfb47d5b31900a6 /Runtime/Graphics/ImageData.h | |
parent | e6a15decac22912900d2cbd2e5525229b92bb55a (diff) |
*misc
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 |