Common Lisp Package: CL-OPENGL

README:

FUNCTION

Public

BIND-GL-VERTEX-ARRAY (ARRAY &OPTIONAL (OFFSET 0))

Binds ARRAY starting at the OFFSET-th element.

DELETE-QUERIES (IDS)

Deletes the names of the query objects contained in the sequence IDS.

EXTENSION-PRESENT-P (NAME)

Check for presence of extension NAME in gl extension list, not currently implemented for speed, so avoid in inner loops

FREE-GL-ARRAY (ARRAY)

Frees an array allocated by ALLOC-GL-ARRAY.

GEN-QUERIES (N)

Returns N previously unused query object names in a list. These names are marked as used, but no object is associated with them until the first time they are used by BEGIN-QUERY.

GET-ACTIVE-ATTRIB (PROGRAM INDEX)

Returns information about the active attribute variable at index INDEX in program PROGRAM as multiple values. 1: Size of attribute. 2: Type of attribute. 3: Name of attribute

GET-ACTIVE-UNIFORM (PROGRAM INDEX)

Returns information about the active uniform attribute at index INDEX in program PROGRAM as multiple values. 1: Size of attribute. 2: Type of attribute. 3: Name of attribute

GET-ATTACHED-SHADERS (PROGRAM)

Returns a list of the shaders attached to PROGRAM

GET-PROGRAM-INFO-LOG (PROGRAM)

Returns as a string the entire info log for PROGRAM

GET-SHADER-INFO-LOG (SHADER)

Returns as a string the entire info log for SHADER

GET-SHADER-SOURCE (SHADER)

Returns as a string the entire source of SHADER

GL3-EXTENSION-PRESENT-P (NAME)

Check for presence of extension NAME useing only non-deprecated gl3 functionality. Currently not implemented for speed, so don't use in inner loops.

GLAREF (ARRAY INDEX &OPTIONAL (COMPONENT NIL C-P))

Returns the INDEX-th component of ARRAY. If COMPONENT is supplied and ARRAY is of a compound type the component named COMPONENT is returned.

SETFGLAREF (VALUE ARRAY INDEX &OPTIONAL (COMPONENT NIL C-P))

Sets the place (GLAREF ARRAY INDEX [COMPONENT]) to VALUE.

MAKE-NULL-GL-ARRAY (TYPE)

Returns a GL-ARRAY with a size of 0, a null pointer and of type TYPE.

MAP-BUFFER-TO-GL-ARRAY (TARGET ACCESS TYPE)

This is like MAP-BUFFER but returns a GL-ARRAY instead of a plain pointer. Note that you must not call FREE-GL-ARRAY but UNMAP-BUFFER on the return value.

Undocumented

ACCUM (OP VALUE)

ACTIVE-TEXTURE (TEXTURE)

ALLOC-GL-ARRAY (TYPE COUNT)

ALPHA-FUNC (FUNC REF)

ARE-TEXTURES-RESIDENT (TEXTURES)

ARRAY-ELEMENT (I)

ATTACH-SHADER (PROGRAM SHADER)

BEGIN (MODE)

BEGIN-QUERY (TARGET ID)

BIND-ATTRIB-LOCATION (PROGRAM INDEX NAME)

BIND-BUFFER (TARGET BUFFER)

BIND-FRAG-DATA-LOCATION (PROGRAM COLOR NAME)

BIND-FRAG-DATA-LOCATION-EXT (PROGRAM COLOR NAME)

BIND-FRAMEBUFFER (TARGET FRAMEBUFFER)

BIND-FRAMEBUFFER-EXT (TARGET FRAMEBUFFER)

BIND-RENDERBUFFER (TARGET RENDERBUFFER)

BIND-RENDERBUFFER-EXT (TARGET RENDERBUFFER)

BIND-SAMPLER (UNIT SAMPLER)

BIND-TEXTURE (TARGET TEXTURE)

BIND-VERTEX-ARRAY (ARRAY)

BLEND-COLOR (RED GREEN BLUE ALPHA)

BLEND-EQUATION (MODE)

BLEND-EQUATION-SEPARATE (MODERGB MODEALPHA)

BLEND-FUNC (SFACTOR DFACTOR)

BLEND-FUNC-SEPARATE (SFACTORRGB DFACTORRGB SFACTORALPHA DFACTORALPHA)

BUFFER-DATA (TARGET USAGE ARRAY &KEY (OFFSET 0) (SIZE (GL-ARRAY-BYTE-SIZE ARRAY)))

BUFFER-SUB-DATA (TARGET ARRAY &KEY (OFFSET 0) (BUFFER-OFFSET 0) (SIZE (GL-ARRAY-BYTE-SIZE ARRAY)))

CALL-LIST (LIST)

CALL-LISTS (LISTS)

CHECK-ERROR (&OPTIONAL CONTEXT)

CHECK-FRAMEBUFFER-STATUS (TARGET)

CHECK-FRAMEBUFFER-STATUS-EXT (TARGET)

CLEAR (&REST BUFS)

CLEAR-ACCUM (RED GREEN BLUE ALPHA)

CLEAR-COLOR (RED GREEN BLUE ALPHA)

CLEAR-DEPTH (DEPTH)

CLEAR-INDEX (C)

CLEAR-STENCIL (S)

CLIENT-ACTIVE-TEXTURE (TEXTURE)

CLIP-PLANE (PLANE EQN)

COLOR (R G B &OPTIONAL (A 1.0))

COLOR-MASK (RED GREEN BLUE ALPHA)

COLOR-MATERIAL (FACE MODE)

COMPILE-SHADER (SHADER)

COMPRESSED-TEX-IMAGE-1D (TARGET LEVEL INTERNAL-FORMAT WIDTH BORDER DATA &OPTIONAL (IMAGE-SIZE (LENGTH DATA)))

COMPRESSED-TEX-IMAGE-2D (TARGET LEVEL INTERNAL-FORMAT WIDTH HEIGHT BORDER DATA &OPTIONAL (IMAGE-SIZE (LENGTH DATA)))

COMPRESSED-TEX-IMAGE-3D (TARGET LEVEL INTERNAL-FORMAT WIDTH HEIGHT DEPTH BORDER DATA &OPTIONAL (IMAGE-SIZE (LENGTH DATA)))

COMPRESSED-TEX-SUB-IMAGE-1D (TARGET LEVEL XOFFSET WIDTH FORMAT DATA &OPTIONAL (IMAGE-SIZE (LENGTH DATA)))

COMPRESSED-TEX-SUB-IMAGE-2D (TARGET LEVEL XOFFSET YOFFSET WIDTH HEIGHT FORMAT DATA &OPTIONAL (IMAGE-SIZE (LENGTH DATA)))

COMPRESSED-TEX-SUB-IMAGE-3D (TARGET LEVEL XOFFSET YOFFSET ZOFFSET WIDTH HEIGHT DEPTH FORMAT DATA &OPTIONAL (IMAGE-SIZE (LENGTH DATA)))

COPY-PIXELS (X Y WIDTH HEIGHT TYPE)

COPY-TEX-IMAGE-1D (TARGET LEVEL INTERNAL-FORMAT X Y WIDTH BORDER)

COPY-TEX-IMAGE-2D (TARGET LEVEL INTERNAL-FORMAT X Y WIDTH HEIGHT BORDER)

COPY-TEX-SUB-IMAGE-1D (TARGET LEVEL XOFFSET X Y WIDTH)

COPY-TEX-SUB-IMAGE-2D (TARGET LEVEL XOFFSET YOFFSET X Y WIDTH HEIGHT)

COPY-TEX-SUB-IMAGE-3D (TARGET LEVEL XOFFSET YOFFSET ZOFFSET X Y WIDTH HEIGHT)

CREATE-PROGRAM

CREATE-SHADER (TYPE)

CULL-FACE (MODE)

DELETE-BUFFERS (BUFFERS)

DELETE-FRAMEBUFFERS (FRAMEBUFFERS)

DELETE-FRAMEBUFFERS-EXT (FRAMEBUFFERS)

DELETE-LISTS (LIST RANGE)

DELETE-PROGRAM (PROGRAM)

DELETE-RENDERBUFFERS (RENDERBUFFERS)

DELETE-RENDERBUFFERS-EXT (RENDERBUFFERS)

DELETE-SHADER (SHADER)

DELETE-TEXTURES (TEXTURES)

DELETE-VERTEX-ARRAYS (ARRAYS)

DEPTH-FUNC (FUNC)

DEPTH-MASK (FLAG)

DEPTH-RANGE (NEAR FAR)

DETACH-SHADER (PROGRAM SHADER)

DISABLE (&REST CAPS)

DISABLE-CLIENT-STATE (ARRAY)

DISABLE-VERTEX-ATTRIB-ARRAY (INDEX)

DRAW-ARRAYS (MODE FIRST COUNT)

DRAW-BUFFER (MODE)

DRAW-BUFFERS (BUFFERS)

DRAW-ELEMENTS (MODE ARRAY &KEY (COUNT (GL-ARRAY-SIZE ARRAY)) (OFFSET 0))

DRAW-PIXELS (WIDTH HEIGHT FORMAT TYPE DATA)

EDGE-FLAG (FLAG)

ENABLE (&REST CAPS)

ENABLE-CLIENT-STATE (ARRAY)

ENABLE-VERTEX-ATTRIB-ARRAY (INDEX)

ENABLEDP (CAP)

END

END-LIST

END-QUERY (TARGET)

EVAL-COORD-1 (X)

EVAL-COORD-2 (X Y)

EVAL-MESH-1 (MODE I1 I2)

EVAL-MESH-2 (MODE I1 I2 J1 J2)

EVAL-POINT-1 (I)

EVAL-POINT-2 (I J)

FEEDBACK-BUFFER (ARRAY)

FINISH

FLUSH

FOG (PNAME PARAM)

FOG-COORD (COORD)

FRAMEBUFFER-RENDERBUFFER (TARGET ATTACHMENT RENDERBUFFERTARGET RENDERBUFFER)

FRAMEBUFFER-RENDERBUFFER-EXT (TARGET ATTACHMENT RENDERBUFFERTARGET RENDERBUFFER)

FRAMEBUFFER-TEXTURE-1D (TARGET ATTACHMENT TEXTARGET TEXTURE LEVEL)

FRAMEBUFFER-TEXTURE-1D-EXT (TARGET ATTACHMENT TEXTARGET TEXTURE LEVEL)

FRAMEBUFFER-TEXTURE-2D (TARGET ATTACHMENT TEXTARGET TEXTURE LEVEL)

FRAMEBUFFER-TEXTURE-2D-EXT (TARGET ATTACHMENT TEXTARGET TEXTURE LEVEL)

FRAMEBUFFER-TEXTURE-3D (TARGET ATTACHMENT TEXTARGET TEXTURE LEVEL ZOFFSET)

FRAMEBUFFER-TEXTURE-3D-EXT (TARGET ATTACHMENT TEXTARGET TEXTURE LEVEL ZOFFSET)

FRONT-FACE (MODE)

FRUSTUM (LEFT RIGHT BOTTOM TOP ZNEAR ZFAR)

GEN-BUFFERS (COUNT)

GEN-FRAMEBUFFERS (COUNT)

GEN-FRAMEBUFFERS-EXT (COUNT)

GEN-LISTS (RANGE)

GEN-RENDERBUFFERS (COUNT)

GEN-RENDERBUFFERS-EXT (COUNT)

GEN-TEXTURES (COUNT)

GEN-VERTEX-ARRAY

GEN-VERTEX-ARRAYS (COUNT)

GENERATE-MIPMAP (TARGET)

GENERATE-MIPMAP-EXT (TARGET)

GET* (NAME &OPTIONAL (INDEX 0 INDEXP))

GET-ACTIVE-UNIFORM-BLOCK (PROGRAM BLOCK-INDEX PNAME)

GET-ACTIVE-UNIFORM-BLOCK-NAME (PROGRAM BLOCK-INDEX)

GET-ATTRIB-LOCATION (PROGRAM NAME)

GET-BOOLEAN (VALUE &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-DOUBLE (VALUE &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-ENUM (VALUE &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-ERROR

GET-FLOAT (VALUE &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-FRAG-DATA-LOCATION (PROGRAM NAME)

GET-FRAG-DATA-LOCATION-EXT (PROGRAM NAME)

GET-INTEGER (VALUE &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-PROGRAM (PROGRAM PNAME)

GET-SHADER (SHADER PNAME)

GET-STRING (NAME)

GET-STRING-I (NAME INDEX)

GET-TEX-LEVEL-PARAMETER (TARGET LEVEL PNAME)

GET-TEX-PARAMETER (TARGET PNAME)

GET-UNIFORM-LOCATION (PROGRAM NAME)

GL-ARRAY-BYTE-SIZE (ARRAY)

GL-VERSION

GL3-MAJOR-VERSION

GL3-MINOR-VERSION

GLSL-MAJOR-VERSION

GLSL-MINOR-VERSION

GLSL-VERSION

HINT (TARGET MODE)

INDEX (INDEX)

INDEX-MASK (MASK)

INIT-NAMES

IS-FRAMEBUFFER (FRAMEBUFFER)

IS-FRAMEBUFFER-EXT (FRAMEBUFFER)

IS-LIST (LIST)

IS-PROGRAM (PROGRAM)

IS-RENDERBUFFER (RENDERBUFFER)

IS-RENDERBUFFER-EXT (RENDERBUFFER)

IS-SHADER (SHADER)

LIGHT (LIGHT PNAME VALUE)

LIGHT-MODEL (PNAME VALUE)

LINE-STIPPLE (FACTOR PATTERN)

LINE-WIDTH (WIDTH)

LIST-BASE (BASE)

LOAD-IDENTITY

LOAD-MATRIX (MATRIX)

LOAD-NAME (NAME)

LOAD-TRANSPOSE-MATRIX (MATRIX)

LOGIC-OP (OPCODE)

MAJOR-VERSION

MAP-BUFFER (TARGET ACCESS)

MAP-GRID-1 (N U1 U2)

MAP-GRID-2 (NU U1 U2 NV V1 V2)

MAP1 (TARGET U1 U2 POINTS)

MAP2 (TARGET U1 U2 V1 V2 POINTS)

MATERIAL (FACE PNAME PARAM)

MATRIX-MODE (MODE)

MINOR-VERSION

MULT-MATRIX (MATRIX)

MULT-TRANSPOSE-MATRIX (MATRIX)

MULTI-TEX-COORD (TEXTURE S &OPTIONAL (T* 0.0) (R 0.0) (Q 1.0))

NEW-LIST (LIST MODE)

NORMAL (X Y Z)

ORTHO (LEFT RIGHT BOTTOM TOP ZNEAR ZFAR)

PASS-THROUGH (TOKEN)

PIXEL-MAP (MAP VALUES)

PIXEL-STORE (PNAME VALUE)

PIXEL-TRANSFER (PNAME VALUE)

POINT-PARAMETER (PNAME VALUE)

POINT-SIZE (SIZE)

POLYGON-MODE (FACE MODE)

POLYGON-OFFSET (FACTOR UNITS)

POLYGON-STIPPLE (PATTERN)

POP-ATTRIB

POP-CLIENT-ATTRIB

POP-MATRIX

POP-NAME

PRIORITIZE-TEXTURE (TEXTURE PRIORITY)

PRIORITIZE-TEXTURES (TEXTURES PRIORITIES)

PUSH-ATTRIB (&REST ATTRIBUTES)

PUSH-CLIENT-ATTRIB (&REST ATTRIBUTES)

PUSH-MATRIX

PUSH-NAME (NAME)

RASTER-POS (X Y &OPTIONAL (Z 0.0) (W 1.0))

READ-BUFFER (MODE)

READ-PIXELS (X Y WIDTH HEIGHT FORMAT TYPE)

RECT (X1 Y1 X2 Y2)

RENDER-MODE (MODE)

RENDERBUFFER-STORAGE (TARGET INTERNALFORMAT WIDTH HEIGHT)

RENDERBUFFER-STORAGE-EXT (TARGET INTERNALFORMAT WIDTH HEIGHT)

ROTATE (THETA X Y Z)

SAMPLE-COVERAGE (VALUE INVERT)

SCALE (X Y Z)

SCISSOR (X Y WIDTH HEIGHT)

SECONDARY-COLOR (R G B)

SELECT-BUFFER (ARRAY)

SHADE-MODEL (MODE)

SHADER-SOURCE (SHADER STRING-LIST)

STENCIL-FUNC (FUNC REF MASK)

STENCIL-FUNC-SEPARATE (FACE FUNC REF MASK)

STENCIL-MASK (MASK)

STENCIL-MASK-SEPARATE (FACE MASK)

STENCIL-OP (FAIL ZFAIL ZPASS)

STENCIL-OP-SEPARATE (FACE SFAIL DPFAIL DPPASS)

TEX-COORD (S &OPTIONAL (R 0.0) (T* 0.0) (Q 1.0))

TEX-ENV (TARGET PNAME VALUE)

TEX-GEN (COORD PNAME PARAM)

TEX-IMAGE-1D (TARGET LEVEL INTERNAL-FORMAT WIDTH BORDER FORMAT TYPE DATA)

TEX-IMAGE-2D (TARGET LEVEL INTERNAL-FORMAT WIDTH HEIGHT BORDER FORMAT TYPE DATA)

TEX-IMAGE-3D (TARGET LEVEL INTERNAL-FORMAT WIDTH HEIGHT DEPTH BORDER FORMAT TYPE DATA)

TEX-PARAMETER (TARGET PNAME PARAM)

TEX-SUB-IMAGE-1D (TARGET LEVEL XOFFSET WIDTH FORMAT TYPE DATA)

TEX-SUB-IMAGE-2D (TARGET LEVEL XOFFSET YOFFSET WIDTH HEIGHT FORMAT TYPE DATA)

TEX-SUB-IMAGE-3D (TARGET LEVEL XOFFSET YOFFSET ZOFFSET WIDTH HEIGHT DEPTH FORMAT TYPE DATA)

TEXTURE-RESIDENT-P (TEXTURE)

TRANSLATE (X Y Z)

UNIFORM-MATRIX (LOCATION DIM MATRICES &OPTIONAL (TRANSPOSE T))

UNIFORMF (LOCATION X &OPTIONAL Y Z W)

UNIFORMFV (LOCATION A)

UNIFORMI (LOCATION X &OPTIONAL Y Z W)

UNMAP-BUFFER (TARGET)

USE-PROGRAM (PROGRAM)

VALIDATE-PROGRAM (PROGRAM)

VERTEX (X Y &OPTIONAL (Z 0.0) (W 1.0))

VERTEX-ATTRIB (INDEX X &OPTIONAL (Y 0.0) (Z 0.0) (W 1.0))

VERTEX-ATTRIB-IPOINTER (INDEX SIZE TYPE STRIDE POINTER)

VERTEX-ATTRIB-POINTER (INDEX SIZE TYPE NORMALIZED STRIDE POINTER)

VIEWPORT (X Y WIDTH HEIGHT)

WINDOW-POS (X Y &OPTIONAL (Z 0.0))

Private

ENSURE-LIST (LIST)

If LIST is a list, it is returned. Otherwise returns the list designated by LIST.

GL-ARRAY-POINTER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

GL-ARRAY-SIZE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

GL-ARRAY-TYPE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

GL-VERTEX-ARRAY-BINDER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

GL-VERTEX-ARRAY-POINTER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

GL-VERTEX-ARRAY-SIZE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

GL-VERTEX-ARRAY-TYPE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

MAKE-GL-ARRAY-FROM-POINTER (PTR TYPE COUNT)

Same as ALLOC-GL-ARRAY but uses a supplied pointer instead of allocating new memory.

SYMBOLICATE (&REST THINGS)

Concatenate together the names of some strings and symbols, producing a symbol in the current package.

SYMBOLICATE-PACKAGE (PACKAGE &REST THINGS)

Concatenate together the names of some strings and symbols, producing a symbol in the current package.

Undocumented

CFFI-TYPE-TO-GL (TYPE)

DELETE-SAMPLER (SAMPLERS)

EMIT-GL-ARRAY-BIND-CLAUSE (CLAUSE OFFSET STRIDE PSYM)

EMIT-GL-ARRAY-STRUCT-CLAUSE (CLAUSE)

ENABLEDP-I (CAP INDEX)

ENUM= (A B)

FIND-VERTEX-ARRAY-BINDER (SYMBOL-OR-FUNCTION &OPTIONAL (ERRORP T))

SETFFIND-VERTEX-ARRAY-BINDER (VALUE SYMBOL)

GEN-SAMPLERS (COUNT)

GET-ACTIVE-UNIFORM-BLOCK-AUX (PROGRAM UNIFORMBLOCKINDEX PNAME RETURN-TYPE1513 &OPTIONAL (RETURN-COUNT1514 1))

GET-BOOLEAN-I (VALUE INDEX &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-BUFFER-PARAMETER (TARGET PNAME RETURN-TYPE302 &OPTIONAL (RETURN-COUNT303 1))

GET-CLIP-PLANE (PLANE)

GET-DOUBLE-I (VALUE INDEX &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-ENUM-I (VALUE INDEX &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-FLOAT-I (VALUE INDEX &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-INTEGER-64 (VALUE &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-INTEGER-64-I (VALUE INDEX &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-INTEGER-I (VALUE INDEX &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-MULTISAMPLE (PNAME INDEX)

GET-POINTER (VALUE &OPTIONAL (COUNT (QUERY-ENUM-SIZE VALUE)))

GET-PROGRAM-AUX (PROGRAM PNAME RETURN-TYPE1467 &OPTIONAL (RETURN-COUNT1468 1))

GET-SHADER-AUX (SHADER PNAME RETURN-TYPE1419 &OPTIONAL (RETURN-COUNT1420 1))

GET-VERTEX-ATTRIB-BOOLEAN (INDEX PNAME &OPTIONAL (COUNT (QUERY-ENUM-SIZE PNAME)))

GET-VERTEX-ATTRIB-ENUM (INDEX PNAME &OPTIONAL (COUNT (QUERY-ENUM-SIZE PNAME)))

GET-VERTEX-ATTRIB-FLOAT (INDEX PNAME &OPTIONAL (COUNT (QUERY-ENUM-SIZE PNAME)))

GET-VERTEX-ATTRIB-INTEGER (INDEX PNAME &OPTIONAL (COUNT (QUERY-ENUM-SIZE PNAME)))

GET-VERTEX-ATTRIB-POINTER (INDEX PNAME &OPTIONAL (COUNT (QUERY-ENUM-SIZE PNAME)))

GL-ARRAY-P (OBJECT)

SETFGL-ARRAY-POINTER (NEW-VALUE INSTANCE)

GL-ARRAY-POINTER-OFFSET (ARRAY OFFSET)

SETFGL-ARRAY-SIZE (NEW-VALUE INSTANCE)

SETFGL-ARRAY-TYPE (NEW-VALUE INSTANCE)

SETFGL-VERTEX-ARRAY-BINDER (NEW-VALUE INSTANCE)

GL-VERTEX-ARRAY-P (OBJECT)

SETFGL-VERTEX-ARRAY-POINTER (NEW-VALUE INSTANCE)

SETFGL-VERTEX-ARRAY-SIZE (NEW-VALUE INSTANCE)

SETFGL-VERTEX-ARRAY-TYPE (NEW-VALUE INSTANCE)

INTERNAL-FORMAT->INT (FORMAT)

MAKE-GL-ARRAY (&KEY ((POINTER DUM505) (NULL-POINTER)) ((SIZE DUM506) 0) ((TYPE DUM507) NIL))

MAKE-GL-VERTEX-ARRAY (&KEY ((POINTER DUM550) (NULL-POINTER)) ((SIZE DUM551) 0) ((TYPE DUM552) NIL) ((BINDER DUM553) #'IDENTITY))

PARSE-GL-VERSION-STRING-FLOAT (STRING)

PARSE-GL-VERSION-STRING-VALUES (STRING)

QUERY-ENUM-SIZE (VALUE)

SAMPLER-PARAMETER (SAMPLER PNAME PARAM)

SYMBOLIC-TYPE->REAL-TYPE (TYPE)

TRY-TO-PARSE-ENUM (VALUE)

MACRO

Public

DEFINE-GL-ARRAY-FORMAT (NAME &BODY CLAUSES)

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)

WITH-GL-ARRAY ((VAR TYPE &KEY COUNT) &BODY FORMS)

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.

WITH-GL-MAPPED-BUFFER ((A TARGET ACCESS TYPE) &BODY BODY)

This is like WITH-MAPPED-BUFFER, but maps to a GL-ARRAY instead.

WITH-MAPPED-BUFFER ((P TARGET ACCESS) &BODY BODY)

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.

Undocumented

WITH-NEW-LIST ((ID MODE) &BODY BODY)

WITH-PRIMITIVE (MODE &BODY BODY)

WITH-PRIMITIVES (MODE &BODY BODY)

WITH-PUSHED-ATTRIB ((&REST ATTRIBUTES) &BODY BODY)

WITH-PUSHED-CLIENT-ATTRIB ((&REST ATTRIBUTES) &BODY BODY)

WITH-PUSHED-MATRIX (&BODY BODY)

WITH-PUSHED-MATRIX* ((MATRIX) &BODY BODY)

Private

FEATURES-PRESENT-P (&BODY OPTIONS)

Returns true if any of the forms in body are true after substitution for :major :minor as major and minor version, and "ARB_foo" for presence of named GL extension ex: (features-present-p (> :major 3) (and (> :major 2) "ARB_texture_rg"))

ONCE-ONLY (SPECS &BODY FORMS)

Evaluates FORMS with symbols specified in SPECS rebound to temporary variables, ensuring that each initform is evaluated only once. Each of SPECS must either be a symbol naming the variable to be rebound, or of the form: (symbol initform) Bare symbols in SPECS are equivalent to (symbol symbol) Example: (defmacro cons1 (x) (once-only (x) `(cons ,x ,x))) (let ((y 0)) (cons1 (incf y))) => (1 . 1)

WITH-UNIQUE-NAMES (NAMES &BODY FORMS)

Alias for WITH-GENSYMS.

Undocumented

DEFINE-ARRAY-POINTER (NAME BUILTIN-NAME &REST HEAD-ARGS)

DEFINE-GET-FUNCTION (NAME (&REST HEAD-ARGS) &BODY CLAUSES)

DEFINE-INDEXED-QUERY-FUNCTION (NAME FN TYPE &OPTIONAL (LISP-TYPE T))

DEFINE-QUERY-FUNCTION (NAME FN TYPE &OPTIONAL (LISP-TYPE T))

DEFINE-VERTEX-ATTRIB-QUERY-FUNCTION (NAME FN TYPE &OPTIONAL (LISP-TYPE T))

DEFINLINE (NAME ARGS &BODY BODY)

ENSURE-FEATURES (&BODY OPTIONS)

IMPORT-EXPORT (&REST SYMBOLS)

WITH-FOREIGN-MATRIX ((SYM MATRIX) &BODY BODY)

WITH-OPENGL-ARRAY ((VAR TYPE LISP-ARRAY) &BODY BODY)

WITH-OPENGL-ARRAYS (BINDINGS &BODY BODY)

WITH-OPENGL-SEQUENCE ((VAR TYPE LISP-SEQUENCE) &BODY BODY)

WITH-PIXEL-ARRAY ((VAR TYPE LISP-ARRAY) &BODY BODY)

VARIABLE

Private

Undocumented

*QUERY-ENUM-SIZES*

CLASS

Public

GL-ARRAY

Pointer to C array with size and type information attached.

GL-VERTEX-ARRAY

Like GL-ARRAY, but with an aditional vertex array binder.

CONDITION

Public

Undocumented

OPENGL-ERROR