GLUtils.h 331 Bytes
Newer Older
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
1 2 3
#import <GLKit/GLKit.h>
#import "ImageData.h"

4
GLuint compileShader (NSString *shaderName, NSString *shaderString, GLenum shaderType);
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
5 6 7 8 9

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