1 #import <Cocoa/Cocoa.h>
3 #import <OpenGL/OpenGL.h>
4 #import <OpenGL/CGLMacro.h>
15 BOOL vertexShaderUpdated;
16 BOOL fragmentShaderUpdated;
23 pthread_mutex_t renderLock;
25 OSSpinLock errDictLock;
26 NSMutableDictionary *errDict;
30 @property (retain,readwrite) NSString *vertexShaderString;
32 @property (retain,readwrite) NSString *fragmentShaderString;
34 @property (assign,readwrite) BOOL vertexShaderUpdated;
35 @property (assign,readwrite) BOOL fragmentShaderUpdated;
37 @property (readonly) GLenum program;
39 @property (readonly) GLenum vertexShader;
41 @property (readonly) GLenum fragmentShader;
GLenum vertexShader
the (GL) name of the vertex shader after it's been compiled
Definition: GLShaderScene.h:18
GLenum program
the (GL) name of the program after the frag shaders have been compiled and linked ...
Definition: GLShaderScene.h:17
NSString * vertexShaderString
Set/get the vertex shader string.
Definition: GLShaderScene.h:20
GLenum fragmentShader
the (GL) name of the fragment shader after it's been compiled
Definition: GLShaderScene.h:19
Wrapper around a GL context with the intent of standardizing the more common render-to-texture operat...
Definition: GLScene.h:34
NSString * fragmentShaderString
Set/get the fragment shader string.
Definition: GLShaderScene.h:21
Subclass of GLScene for working with vertex & frag shaders- just give it some shader strings and watc...
Definition: GLShaderScene.h:14