LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 GPU_INVERSE_VIEW_MATRIX = 4, | 82 GPU_INVERSE_VIEW_MATRIX = 4, |
83 GPU_INVERSE_OBJECT_MATRIX = 8, | 83 GPU_INVERSE_OBJECT_MATRIX = 8, |
84 GPU_VIEW_POSITION = 16, | 84 GPU_VIEW_POSITION = 16, |
85 GPU_VIEW_NORMAL = 32, | 85 GPU_VIEW_NORMAL = 32, |
86 GPU_OBCOLOR = 64, | 86 GPU_OBCOLOR = 64, |
87 GPU_AUTO_BUMPSCALE = 128 | 87 GPU_AUTO_BUMPSCALE = 128 |
88 } GPUBuiltin; | 88 } GPUBuiltin; |
89 | 89 |
90 typedef enum GPUBlendMode { | 90 typedef enum GPUBlendMode { |
91 GPU_BLEND_SOLID = 0, | 91 GPU_BLEND_SOLID = 0, |
| 92 GPU_BLEND_ADD = 1, |
| 93 GPU_BLEND_ALPHA = 2, |
92 GPU_BLEND_SOLID = 0, | 94 GPU_BLEND_SOLID = 0, |
93 GPU_BLEND_ADD = 1, | 95 GPU_BLEND_ADD = 1, |
94 GPU_BLEND_ALPHA = 2, | 96 GPU_BLEND_ALPHA = 2, |
95 GPU_BLEND_CLIP = 4 | 97 GPU_BLEND_CLIP = 4 |
96 } GPUBlendMode; | 98 } GPUBlendMode; |
97 | 99 |
98 typedef struct GPUNodeStack { | 100 typedef struct GPUNodeStack { |
LEFT | RIGHT |