Speed up some operations
This commit is contained in:
27
project/include/graphics/utils/ImageDataUtil.h
Normal file
27
project/include/graphics/utils/ImageDataUtil.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef LIME_GRAPHICS_UTILS_IMAGE_DATA_UTIL_H
|
||||
#define LIME_GRAPHICS_UTILS_IMAGE_DATA_UTIL_H
|
||||
|
||||
|
||||
#include <hx/CFFI.h>
|
||||
#include <utils/ByteArray.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class ImageDataUtil {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
static void MultiplyAlpha (ByteArray *bytes);
|
||||
static void UnmultiplyAlpha (ByteArray *bytes);
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user