Class: EffectPass

EffectPass

EffectPass is used by Effect classes to perform individual render tasks.


new EffectPass(vertexShader, fragmentShader)

Parameters:
Name Type Description
vertexShader string

The vertex shader code for this pass's shader.

fragmentShader string

The fragment shader code for this pass's shader.

Author:
  • derschmale <http://www.derschmale.com>