diff options
Diffstat (limited to 'Runtime/Graphics/ImageData.h')
-rw-r--r-- | Runtime/Graphics/ImageData.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Runtime/Graphics/ImageData.h b/Runtime/Graphics/ImageData.h index a3162bc..af44f11 100644 --- a/Runtime/Graphics/ImageData.h +++ b/Runtime/Graphics/ImageData.h @@ -2,14 +2,15 @@ #define IMAGE_DATA_H #include <vector> +#include "Runtime/Threading/Job.h" // ͼƬÏñËØÊý¾Ý class ImageData { -public: +public: enum ImageFormat { - ImageFormat_Rgba_Int, + ImageFormat_Rgba_Int, ImageFormat_Rgba_Float, }; @@ -30,7 +31,7 @@ struct ImageDataRequest bool isDone, hasError; int error; int progress, all; - ImageData* result; + ImageData* result; std::vector<ImageData*> results; }; @@ -41,4 +42,14 @@ namespace ImageDataUtil ImageDataRequest* LoadAsync(std::vector<const char*> paths); } +class ReadImageFilesJob : public Job +{ + +}; + +class DecodeImageFilesJob : public Job +{ + +}; + #endif
\ No newline at end of file |