Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cl-opengl Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 03:53:19 2022 GMT+0.
Next: Systems, Previous: The cl-opengl Reference Manual, Up: The cl-opengl Reference Manual [Contents][Index]
cl-opengl is a set of bindings and utilities for accessing the OpenGL, GLU and GLUT APIs using CFFI. The examples/ directory contains a couple of examples using cl-glut, cl-opengl and cl-glu. Note, however, that you can use each of these independently. In particular, you can use a windowing toolkit other than (Free)GLUT, if you wish. build-time configuration: By default, cl-opengl checks for errors after GL calls where valid, and disables FP traps around ffi calls to match assumptions of C code in drivers. If these cause performance or other problems, they can be disabled by pushing :cl-opengl-no-check-error or :cl-opengl-no-masked-traps onto *features* before compiling cl-opengl (probably will need to clear .fasl caches or force a rebuild with asdf if cl-opengl has been loaded previously). When disabling the per-call masked fp traps in cl-opengl, you might need to do so yourself to run on some drivers. See with-float-traps-masked in the float-features library for a portable wrapper.
Next: Modules, Previous: Introduction, Up: The cl-opengl Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
Next: Files, Previous: Systems, Up: The cl-opengl Reference Manual [Contents][Index]
Modules are listed depth-first from the system components tree.
cl-opengl (system).
Next: Packages, Previous: Modules, Up: The cl-opengl Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: cl-opengl/gl/bindings-package.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
cl-opengl (system).
Next: cl-opengl/gl/constants.lisp, Previous: cl-opengl/cl-opengl.asd, Up: Lisp [Contents][Index]
gl (module).
Next: cl-opengl/gl/library.lisp, Previous: cl-opengl/gl/bindings-package.lisp, Up: Lisp [Contents][Index]
bindings-package.lisp (file).
gl (module).
Next: cl-opengl/gl/bindings.lisp, Previous: cl-opengl/gl/constants.lisp, Up: Lisp [Contents][Index]
constants.lisp (file).
gl (module).
Next: cl-opengl/gl/types.lisp, Previous: cl-opengl/gl/library.lisp, Up: Lisp [Contents][Index]
library.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-glcore-gles1-gles2-glsc2.lisp, Previous: cl-opengl/gl/bindings.lisp, Up: Lisp [Contents][Index]
bindings.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-glcore-gles1-gles2.lisp, Previous: cl-opengl/gl/types.lisp, Up: Lisp [Contents][Index]
types.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-glcore-gles2-glsc2.lisp, Previous: cl-opengl/gl/funcs-gl-glcore-gles1-gles2-glsc2.lisp, Up: Lisp [Contents][Index]
gl (module).
Next: cl-opengl/gl/funcs-gl-glcore-gles2.lisp, Previous: cl-opengl/gl/funcs-gl-glcore-gles1-gles2.lisp, Up: Lisp [Contents][Index]
funcs-gl-glcore-gles1-gles2.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-glcore.lisp, Previous: cl-opengl/gl/funcs-gl-glcore-gles2-glsc2.lisp, Up: Lisp [Contents][Index]
funcs-gl-glcore-gles2-glsc2.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-gles1-gles2-glsc2.lisp, Previous: cl-opengl/gl/funcs-gl-glcore-gles2.lisp, Up: Lisp [Contents][Index]
funcs-gl-glcore-gles2.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-gles1-gles2.lisp, Previous: cl-opengl/gl/funcs-gl-glcore.lisp, Up: Lisp [Contents][Index]
funcs-gl-glcore.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-gles1.lisp, Previous: cl-opengl/gl/funcs-gl-gles1-gles2-glsc2.lisp, Up: Lisp [Contents][Index]
funcs-gl-gles1-gles2-glsc2.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-gles2-glsc2.lisp, Previous: cl-opengl/gl/funcs-gl-gles1-gles2.lisp, Up: Lisp [Contents][Index]
funcs-gl-gles1-gles2.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl-gles2.lisp, Previous: cl-opengl/gl/funcs-gl-gles1.lisp, Up: Lisp [Contents][Index]
funcs-gl-gles1.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gl.lisp, Previous: cl-opengl/gl/funcs-gl-gles2-glsc2.lisp, Up: Lisp [Contents][Index]
funcs-gl-gles2-glsc2.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gles1-gles2.lisp, Previous: cl-opengl/gl/funcs-gl-gles2.lisp, Up: Lisp [Contents][Index]
funcs-gl-gles2.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gles1.lisp, Previous: cl-opengl/gl/funcs-gl.lisp, Up: Lisp [Contents][Index]
funcs-gl.lisp (file).
gl (module).
Next: cl-opengl/gl/funcs-gles2.lisp, Previous: cl-opengl/gl/funcs-gles1-gles2.lisp, Up: Lisp [Contents][Index]
funcs-gles1-gles2.lisp (file).
gl (module).
Next: cl-opengl/gl/package.lisp, Previous: cl-opengl/gl/funcs-gles1.lisp, Up: Lisp [Contents][Index]
funcs-gles1.lisp (file).
gl (module).
Next: cl-opengl/gl/util.lisp, Previous: cl-opengl/gl/funcs-gles2.lisp, Up: Lisp [Contents][Index]
funcs-gles2.lisp (file).
gl (module).
Next: cl-opengl/gl/opengl.lisp, Previous: cl-opengl/gl/package.lisp, Up: Lisp [Contents][Index]
package.lisp (file).
gl (module).
Next: cl-opengl/gl/rasterization.lisp, Previous: cl-opengl/gl/util.lisp, Up: Lisp [Contents][Index]
util.lisp (file).
gl (module).
Next: cl-opengl/gl/framebuffer.lisp, Previous: cl-opengl/gl/opengl.lisp, Up: Lisp [Contents][Index]
opengl.lisp (file).
gl (module).
internal-format->int (function).
Next: cl-opengl/gl/special.lisp, Previous: cl-opengl/gl/rasterization.lisp, Up: Lisp [Contents][Index]
rasterization.lisp (file).
gl (module).
Next: cl-opengl/gl/state.lisp, Previous: cl-opengl/gl/framebuffer.lisp, Up: Lisp [Contents][Index]
framebuffer.lisp (file).
gl (module).
Next: cl-opengl/gl/dsa.lisp, Previous: cl-opengl/gl/special.lisp, Up: Lisp [Contents][Index]
special.lisp (file).
gl (module).
Next: cl-opengl/gl/extensions.lisp, Previous: cl-opengl/gl/state.lisp, Up: Lisp [Contents][Index]
state.lisp (file).
gl (module).
buffer-storage (function).
Previous: cl-opengl/gl/dsa.lisp, Up: Lisp [Contents][Index]
dsa.lisp (file).
gl (module).
Next: Definitions, Previous: Files, Up: The cl-opengl Reference Manual [Contents][Index]
Packages are listed by definition order.
%gl
Previous: cl-opengl-bindings, Up: Packages [Contents][Index]
Next: Indexes, Previous: Packages, Up: The cl-opengl Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Next: Macros, Previous: Public Interface, Up: Public Interface [Contents][Index]
Next: Compiler macros, Previous: Special variables, Up: Public Interface [Contents][Index]
Defines a vertex array format spcification. Each clause has
the format (array-type parameter*) where array-type can
currently be one of VERTEX, COLOR, SECONDARY-COLOR, NORMAL,
INDEX, FOG-COORD, TEX-COORD, EDGE-FLAG OR VERTEX-ATTRIB.
Parameters are keyword arguments for the corresponding array
type. The following parameters are supported:
:TYPE – array element type (all array types)
:COMPONENTS – list of component (slot) names for this array (all types)
:STAGE – active texture for the array (TEX-COORD type)
:INDEX – vertex attribute index (VERTEX-ATTRIB type)
:NORMALIZED – whether values should be normalized (VERTEX-ATTRIB)
Allocates a fresh GL-ARRAY of type TYPE and COUNT elements. The array will be bound to VAR and is freed when execution moves outside WITH-GL-ARRAY.
This is like WITH-MAPPED-BUFFER, but maps to a GL-ARRAY instead.
Maps the buffer currently bound to TARGET with ACCESS storing the returned pointer in P. The buffer is unmapped when execution leaves WITH-MAPPED-BUFFER. Note that this will break when another buffer is bound within FORMS.
Next: Ordinary functions, Previous: Macros, Up: Public Interface [Contents][Index]
Next: Standalone methods, Previous: Compiler macros, Up: Public Interface [Contents][Index]
Binds ARRAY starting at the OFFSET-th element.
Deletes the names of the query objects contained in the sequence IDS.