Adding JPEG/PNG file loading (PVRTC stub)

This commit is contained in:
Matt Tuttle
2014-06-30 23:17:41 -05:00
committed by Joshua Granick
parent 429f9bac86
commit 9f6debd95b
13 changed files with 340 additions and 146 deletions

View File

@@ -1,15 +1,28 @@
#ifndef LIME_GRAPHICS_IMAGE_DATA_H
#define LIME_GRAPHICS_IMAGE_DATA_H
#include <hx/CFFI.h>
#include <utils/ByteArray.h>
namespace lime {
struct ImageData {
class ImageData {
public:
int width;
int height;
unsigned char data;
ByteArray *data;
ImageData();
~ImageData();
value Value();
private:
value mValue;
};