GLSL-SHADER:
GPU-accelerated rendering ยป Shader objects

Prev:GLSL-PROGRAM:
Next:GLSL-SHADER-FILE:


Vocabulary
gpu.shaders

Syntax
GLSL-SHADER: shader-name shader-kind shader source ;


Word description
Defines a new shader of kind shader-kind named shader-name. The shader will read its source code from the current Factor source file between the GLSL-SHADER: line and the first subsequent line with a single semicolon on it.

See also
GLSL-PROGRAM:, GLSL-SHADER-FILE:

Definition