MCPcopy Index your code
hub / github.com/benfry/processing4 / PShader

Method PShader

core/src/processing/opengl/PShader.java:172–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 7

allocateIntBufferMethod · 0.95
allocateFloatBufferMethod · 0.95
getShaderTypeMethod · 0.95
showWarningMethod · 0.95
createEmptyContextMethod · 0.80
loadFragmentShaderMethod · 0.45
loadVertexShaderMethod · 0.45

Tested by

no test coverage detected