#import <O3D_Shader.h>
Public Member Functions | |
| (id) | - initWithVertexPath:fragmentPath: |
| Initialize giving the paths to the vertex shader and fragment shader code. Either argument can be nil to only use one shader. | |
| (void) | - setUniformInt:forVariableNamed: |
| Change a variable representing one int inside the shader. | |
| (void) | - setUniformInts:forVariableNamed:length: |
| Change a variable representing an array of ints inside the shader. | |
| (void) | - setUniformFloat:forVariableNamed: |
| Change a variable representing one float inside the shader. | |
| (void) | - setUniformFloats:forVariableNamed:length: |
| Change a variable representing an array of floats inside the shader. | |
| (void) | - setUniformBool:forVariableNamed: |
| Change a variable representing one bool inside the shader. | |
| (void) | - setUniformBools:forVariableNamed:length: |
| Change a variable representing an array of floats inside the shader. | |
Properties | |
| GLhandleARB | program |
| The shader program. | |
| GLhandleARB | vertex |
| Vertex shader. | |
| GLhandleARB | fragment |
| Fragment shader. | |
1.5.9