opengl.shaders vocabulary
Factor handbook > Vocabulary index


Documentation
OpenGL utility words

Meta-data
Tags:opengl, bindings
Authors:Joe Groff


Words

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


Ordinary words
WordStack effect
(fragment-shader?)( object -- ? )
(gl-program)( shaders quot: ( gl-program -- ) -- program )
(gl-program?)( object -- ? )
(gl-shader?)( object -- ? )
(vertex-shader?)( object -- ? )
<fragment-shader>( source -- fragment-shader )
<gl-program>( shaders -- program )
<gl-shader>( source kind -- shader )
<mrt-gl-program>( shaders frag-data-locations -- program )
<simple-gl-program>( vertex-shader-source fragment-shader-source -- program )
<vertex-shader>( source -- vertex-shader )
check-gl-program( program -- program )
check-gl-shader( shader -- shader )
delete-gl-program( program -- )
delete-gl-program-only( program -- )
delete-gl-shader( shader -- )
detach-gl-program-shader( program shader -- )
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
fragment-shader?( object -- ? )
gl-program?( object -- ? )
gl-shader?( object -- ? )
vertex-shader?( object -- ? )


Files