MCPcopy Create free account
hub / github.com/pmndrs/postprocessing / setVertexShader

Method setVertexShader

src/effects/Effect.js:385–390  ·  view source on GitHub ↗

* Sets the vertex shader. * * @protected * @param {String} vertexShader - The vertex shader.

(vertexShader)

Source from the content-addressed store, hash-verified

383 */
384
385 setVertexShader(vertexShader) {
386
387 this.vertexShader = vertexShader;
388 this.setChanged();
389
390 }
391
392 /**
393 * Informs the associated {@link EffectPass} that this effect requires a shader recompilation.

Callers 2

textureMethod · 0.80
patternTextureMethod · 0.80

Calls 1

setChangedMethod · 0.95

Tested by

no test coverage detected