program - Factor Documentation (original) (raw)

program

Vocabulary
gpu.shaders

Class description
A program provides a specification for linking a program-instance in a graphics context. Programs are defined with GLSL-PROGRAM: and instantiated for a context with .

Definition

USING: arrays hashtables math words ;

IN: gpu.shaders

TUPLE: program
{ name word read-only initial: t } { filename read-only }
{ line integer read-only initial: 0 }
{ shaders array read-only initial: { } }
{ vertex-formats array read-only initial: { } } {
feedback-format
maybe{ vertex-format } read-only initial: f
}
{ geometry-shader-parameters array read-only initial: { } }
{ instances hashtable read-only initial: H{ } } ;