GLUtils.h 309 Bytes
Newer Older
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
1 2 3 4 5 6 7 8 9
#import <GLKit/GLKit.h>
#import "ImageData.h"

GLuint compileShader (NSString* shaderString, GLenum shaderType);

ImageData* genPixelsEmpty (int width, int height);
ImageData* genPixelsRandom (int width, int height);
ImageData* genPixelsWithImage (UIImage *image);
ImageData* genPixelsWithView (UIView *view);