opengl vocabulary - Factor Documentation (original) (raw)

opengl vocabulary
Factor handbook » Vocabulary index

Documentation
OpenGL utility words

Metadata

Tags: bindings, opengl
Authors: Slava Pestov, Eduardo Cavazos, Joe Groff, Alex Chapman, Sebastian Strobl

Words

Tuple classes

Class Superclass Slots
gl-error-tuple tuple function code string

Macro words

Word Stack effect
all-enabled ( seq quot -- quot )
all-enabled-client-state ( seq quot -- quot )
set-draw-buffers ( buffers -- quot )

Symbol words

gl-scale-factor

Ordinary words

Word Stack effect
(all-enabled) ( seq quot -- )
(all-enabled-client-state) ( seq quot -- )
(delete-gl-object) ( id quot -- )
(fill-rect-vertices) ( loc dim -- vertices )
(gen-gl-object) ( quot -- id )
(gl-error) ( function -- )
(gl-fill-rect) ( -- )
(gl-rect) ( -- )
(line-vertices) ( a b -- vertices )
(rect-vertices) ( loc dim -- vertices )
(set-draw-buffers) ( buffers -- )
( target data hint -- id )
( function code -- gl-error )
bind-texture-unit ( id target unit -- )
buffer-offset ( int -- alien )
create-gl-buffer ( -- id )
create-vertex-array ( -- id )
delete-dlist ( id -- )
delete-gl-buffer ( id -- )
delete-vertex-array ( id -- )
do-attribs ( bits quot -- )
do-enabled ( what quot -- )
do-enabled-client-state ( what quot -- )
do-matrix ( quot -- )
error>string ( n -- string )
fill-rect-vertices ( loc dim -- )
fix-coordinates ( point1 point2 -- x1 y1 x2 y2 )
gen-dlist ( -- id )
gen-gl-buffer ( -- id )
gen-vertex-array ( -- id )
gl-ceiling ( m -- n )
gl-clear ( color -- )
gl-clear-color ( color -- )
gl-color ( color -- )
gl-color-pointer ( seq -- )
gl-error ( -- )
gl-error-code ( -- code/f )
gl-fill-rect ( loc dim -- )
gl-floor ( m -- n )
gl-line ( a b -- )
gl-material ( face pname params -- )
gl-rect ( loc dim -- )
gl-round ( m -- n )
gl-scale ( m -- n )
gl-set-clip ( loc dim -- )
gl-texture-coord-pointer ( seq -- )
gl-translate ( point -- )
gl-unscale ( m -- n )
gl-vertex-pointer ( seq -- )
gl-viewport ( loc dim -- )
init-matrices ( -- )
line-vertices ( a b -- )
make-dlist ( type quot -- id )
rect-vertices ( loc dim -- )
throw-gl-error? ( -- ? )
with-array-element-buffers ( array-buffer element-buffer quot -- )
with-gl-buffer ( binding id quot -- )
with-translation ( loc quot -- )
with-vertex-array ( id quot -- )
words>values ( word/value-seq -- value-seq )

Class predicate words

Word Stack effect
gl-error-tuple? ( object -- ? )

Files

resource:basis/opengl/opengl.factor
resource:basis/opengl/opengl-docs.factor
resource:basis/opengl/opengl-tests.factor

Metadata files

resource:basis/opengl/authors.txt
resource:basis/opengl/summary.txt
resource:basis/opengl/tags.txt

Children from resource:basis

Vocabulary Summary
opengl.annotations
opengl.capabilities Testing for OpenGL versions and extensions
opengl.debug Helper words for breaking and interactively manipulating OpenGL applications
opengl.framebuffers Rendering to offscreen textures using the GL_EXT_framebuffer_object extension
opengl.gl OpenGL binding - libGL
opengl.gl3 Forward-compatible subset of OpenGL 3.1
opengl.shaders OpenGL Shading Language (GLSL) support
opengl.textures

Children from resource:extra

Vocabulary Summary
opengl.demo-support Common support for OpenGL demos
opengl.demos
opengl.glu OpenGL binding - libGLU