GLFBO.h 299 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#import <GLKit/GLKit.h>

@interface GLFBO: NSObject

@property (nonatomic) EAGLContext *context;

// This contains the framebuffer GLTexture instances
@property (nonatomic) NSArray *color;

- (instancetype)init;

- (void)bind;

- (void)setShapeWithWidth:(float)width withHeight:(float)height;

@end