-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGLPProgram+SetUniform.h
62 lines (47 loc) · 3.73 KB
/
GLPProgram+SetUniform.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#import "GLPProgram.h"
@interface GLPProgram (SetUniform)
- (void)setUniform:(GLint)location floatValue:(GLfloat)x;
- (void)setUniform:(GLint)location floatValue:(GLfloat)x :(GLfloat)y;
- (void)setUniform:(GLint)location floatValue:(GLfloat)x :(GLfloat)y :(GLfloat)z;
- (void)setUniform:(GLint)location floatValue:(GLfloat)x :(GLfloat)y :(GLfloat)z :(GLfloat)w;
- (void)setUniform:(GLint)location float1Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location float2Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location float3Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location float4Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location intValue:(GLint)x;
- (void)setUniform:(GLint)location intValue:(GLint)x :(GLint)y;
- (void)setUniform:(GLint)location intValue:(GLint)x :(GLint)y :(GLint)z;
- (void)setUniform:(GLint)location intValue:(GLint)x :(GLint)y :(GLint)z :(GLint)w;
- (void)setUniform:(GLint)location int1Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location int2Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location int3Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location int4Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniform:(GLint)location matrix2Value:(const GLfloat *)value;
- (void)setUniform:(GLint)location matrix3Value:(const GLfloat *)value;
- (void)setUniform:(GLint)location matrix4Value:(const GLfloat *)value;
- (void)setUniform:(GLint)location matrix2Values:(const GLfloat *)value count:(GLsizei)count;
- (void)setUniform:(GLint)location matrix3Values:(const GLfloat *)value count:(GLsizei)count;
- (void)setUniform:(GLint)location matrix4Values:(const GLfloat *)value count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name floatValue:(GLfloat)x;
- (void)setUniformNamed:(NSString*)name floatValue:(GLfloat)x :(GLfloat)y;
- (void)setUniformNamed:(NSString*)name floatValue:(GLfloat)x :(GLfloat)y :(GLfloat)z;
- (void)setUniformNamed:(NSString*)name floatValue:(GLfloat)x :(GLfloat)y :(GLfloat)z :(GLfloat)w;
- (void)setUniformNamed:(NSString*)name float1Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name float2Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name float3Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name float4Values:(const GLfloat *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name intValue:(GLint)x;
- (void)setUniformNamed:(NSString*)name intValue:(GLint)x :(GLint)y;
- (void)setUniformNamed:(NSString*)name intValue:(GLint)x :(GLint)y :(GLint)z;
- (void)setUniformNamed:(NSString*)name intValue:(GLint)x :(GLint)y :(GLint)z :(GLint)w;
- (void)setUniformNamed:(NSString*)name int1Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name int2Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name int3Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name int4Values:(const GLint *)values count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name matrix2Value:(const GLfloat *)value;
- (void)setUniformNamed:(NSString*)name matrix3Value:(const GLfloat *)value;
- (void)setUniformNamed:(NSString*)name matrix4Value:(const GLfloat *)value;
- (void)setUniformNamed:(NSString*)name matrix2Values:(const GLfloat *)value count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name matrix3Values:(const GLfloat *)value count:(GLsizei)count;
- (void)setUniformNamed:(NSString*)name matrix4Values:(const GLfloat *)value count:(GLsizei)count;
@end