()
| 170 | protected int shininessLoc; |
| 171 | |
| 172 | public PShader() { |
| 173 | parent = null; |
| 174 | pgl = null; |
| 175 | context = -1; |
| 176 | |
| 177 | this.vertexURL = null; |
| 178 | this.fragmentURL = null; |
| 179 | this.vertexFilename = null; |
| 180 | this.fragmentFilename = null; |
| 181 | |
| 182 | glProgram = 0; |
| 183 | glVertex = 0; |
| 184 | glFragment = 0; |
| 185 | |
| 186 | intBuffer = PGL.allocateIntBuffer(1); |
| 187 | floatBuffer = PGL.allocateFloatBuffer(1); |
| 188 | |
| 189 | bound = false; |
| 190 | |
| 191 | type = -1; |
| 192 | } |
| 193 | |
| 194 | |
| 195 | public PShader(PApplet parent) { |
nothing calls this directly
no test coverage detected