Handbook
Glossary
step-program ( -- value )
Vocabulary
gpu.effects.step
Inputs
None
Outputs
value
an
object
Definition
USING:
gpu.shaders
gpu.util
;
IN:
gpu.effects.step
CONSTANT:
step-program
T{
program
{
name
step-program
}
{
line 24
}
{
shaders
{
T{
shader
{
name
window-vertex-shader
}
{
line 50
}
{
source
"attribute vec2 vertex;\nvarying vec2 texcoord;\nvoid main()\n{\n ..."
}
}
T{
shader
{
name
step-fragment-shader
}
{
kind
fragment-shader
}
{
line 7
}
{
source
"const vec4 luminance = vec4(0.3, 0.59, 0.11, 0.0);\nuniform sa..."
}
}
}
}
{
vertex-formats
{
window-vertex-format
}
}
}
inline