MCPcopy Index your code
hub / github.com/processing/processing / PShader

Method PShader

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

Source from the content-addressed store, hash-verified

164 protected int shininessLoc;
165
166 public PShader() {
167 parent = null;
168 pgl = null;
169 context = -1;
170
171 this.vertexURL = null;
172 this.fragmentURL = null;
173 this.vertexFilename = null;
174 this.fragmentFilename = null;
175
176 glProgram = 0;
177 glVertex = 0;
178 glFragment = 0;
179
180 intBuffer = PGL.allocateIntBuffer(1);
181 floatBuffer = PGL.allocateFloatBuffer(1);
182
183 bound = false;
184
185 type = -1;
186 }
187
188
189 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