opengl.shaders vocabulary
Factor handbook ยป Vocabulary index


Documentation
OpenGL utility words

Metadata
Parents:opengl
Tags:opengl, bindings
Authors:Joe Groff, Sebastian Strobl


Words

Predicate classes
ClassSuperclass
compute-shader gl-shader
fragment-shader gl-shader
gl-program integer
gl-shader integer
vertex-shader gl-shader


Ordinary words
WordStack effect
(compute-shader?)( object -- ? )
(fragment-shader?)( object -- ? )
(gl-program)( shaders quot: ( gl-program -- ) -- program )
(gl-program?)( object -- ? )
(gl-shader?)( object -- ? )
(vertex-shader?)( object -- ? )
<compute-program>( compute-shader-source -- program )
<compute-shader>( source -- compute-shader )
<fragment-shader>( source -- fragment-shader )
<gl-program>( shaders -- program )
<gl-shader>( source kind -- shader )
<simple-gl-program>( vertex-shader-source fragment-shader-source -- program )
<vertex-shader>( source -- vertex-shader )
attach-shaders( program shaders -- )
check-gl-program( program -- program )
check-gl-shader( shader -- shader )
delete-gl-program( program -- )
gl-program-get-int( program enum -- value )
gl-program-info-log( program -- log )
gl-program-info-log-length( program -- log-length )
gl-program-ok?( program -- ? )
gl-program-shaders( program -- shaders )
gl-program-shaders-length( program -- shaders-length )
gl-shader-get-int( shader enum -- value )
gl-shader-info-log( shader -- log )
gl-shader-info-log-length( shader -- log-length )
gl-shader-ok?( shader -- ? )
with-gl-program( program quot -- )
with-gl-shader-source-ptr( string quot -- )


Class predicate words
WordStack effect
compute-shader?( object -- ? )
fragment-shader?( object -- ? )
gl-program?( object -- ? )
gl-shader?( object -- ? )
vertex-shader?( object -- ? )


Files


Metadata files