-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathShaderDefinitions.h
65 lines (54 loc) · 1.3 KB
/
ShaderDefinitions.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
63
64
65
/* This file is part of the Elliott 803 emulator.
Copyright © 2020 Peter Onion
See LICENCE file.
*/
// Declarations of all the variables used in shaders
GLuint simpleProg;
GLuint simplePositionLoc;
GLint simpleColourLoc;
GLint simpleMvpLoc;
GLuint textureProg;
GLuint texturePositionLoc;
GLuint textureTexelCoordLoc;
GLint textureTextureLoc;
GLint textureMvpLoc;
GLuint texture2Prog;
GLuint texture2PositionLoc;
GLuint texture2TexelCoordLoc;
GLint texture2TextureLoc;
GLint texture2MvpLoc;
GLint texture2RotateLoc;
GLint Hand2TranslateLoc;
GLuint simpleTextureProg;
GLuint simpleTexturePositionLoc;
GLuint simpleTextureTexelCoordLoc;
GLint simpleTextureTextureLoc;
GLuint WGProg;
GLuint WGPositionLoc;
GLuint WGNormalsLoc;
GLint WGColourLoc;
GLint WGMvpLoc;
GLint WGTranslateLoc;
GLint WGPreTranslateLoc;
GLint WGLightPositionLoc;
GLint WGCameraPositionLoc;
GLint WGRotFlagLoc;
GLint WGRotateLoc;
GLuint XwiresProg;
GLuint XwiresPositionLoc;
GLint XwiresTranslateLoc;
GLint XwiresMvpLoc;
GLuint HandProg;
GLuint HandPositionLoc;
GLuint HandNormalsLoc;
GLint HandColourLoc;
GLint HandMvpLoc;
GLint HandTranslateLoc;
GLint ArmTranslateLoc;
GLint HandPreTranslateLoc;
GLint HandLightPositionLoc;
GLint HandCameraPositionLoc;
GLint HandRotFlagLoc;
GLint ArmRotateLoc;
GLint HandRotateLoc;
GLint HandMirrorXLoc;