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

Prev:GLSL-SHADER:
Next:<program-instance> ( program: program -- instance: program-instance )


Vocabulary
gpu.shaders

Syntax
GLSL-SHADER-FILE: shader-name shader-kind "filename"


Word description
Defines a new shader of kind shader-kind named shader-name. The shader will read its source code from filename in the current Factor source file's directory.

See also
GLSL-PROGRAM:, GLSL-SHADER:

Definition