Version: 5.1
The RacketGL library
(require (planet "rgl.rkt" ("stephanh" "RacketGL.plt" 1 1))) |
The RacketGL library is an automatically-generated wrapper
around the OpenGL library.
Being automatically-generated means that it is quite complete.
It also means that the wrapping may not be as nice as a manual
wrapping.
Please note that these procedures are all very much unsafe;
in particular, if you call any of them while no OpenGL context
is active, you are almost certain to crash Racket.
An OpenGL context is typically establised by using the
with-gl-context in canvas% method.
If you are running from within DrRacket, I would recommend
to get used to saving your OpenGL program before running it.
This document contains, for reference, the calling conventions
for all the non-extension OpenGL procedures.
This information is also automatically generated.
This is only intended to easily look up type and number
of parameters and return values.
There is no information on what the various
calls actually do; for that, please refer to the
documentation of the OpenGL C API.
The wrapper procedures automatically check for OpenGL errors after any call,
except between glBegin and glEnd where this is disallowed.
You don’t have to call glGetError yourself.
1 OpenGL version 1.0
(glCullFace mode) → any |
mode : exact-integer? |
(glFrontFace mode) → any |
mode : exact-integer? |
(glHint target mode) → any |
target : exact-integer? |
mode : exact-integer? |
(glLineWidth width) → any |
width : flonum? |
(glPointSize size) → any |
size : flonum? |
(glPolygonMode face mode) → any |
face : exact-integer? |
mode : exact-integer? |
(glScissor x y width height) → any |
x : exact-integer? |
y : exact-integer? |
width : exact-integer? |
height : exact-integer? |
(glTexParameterf target pname param) → any |
target : exact-integer? |
pname : exact-integer? |
param : flonum? |
(glTexParameterfv target pname params) → any |
target : exact-integer? |
pname : exact-integer? |
params : f32vector? |
(glTexParameteri target pname param) → any |
target : exact-integer? |
pname : exact-integer? |
param : exact-integer? |
(glTexParameteriv target pname params) → any |
target : exact-integer? |
pname : exact-integer? |
params : s32vector? |
(glDrawBuffer mode) → any |
mode : exact-integer? |
(glClear mask) → any |
mask : exact-nonnegative-integer? |
(glClearColor red green blue alpha) → any |
red : flonum? |
green : flonum? |
blue : flonum? |
alpha : flonum? |
(glClearStencil s) → any |
s : exact-integer? |
(glClearDepth depth) → any |
depth : real? |
(glStencilMask mask) → any |
mask : exact-nonnegative-integer? |
(glColorMask red green blue alpha) → any |
red : boolean? |
green : boolean? |
blue : boolean? |
alpha : boolean? |
(glDepthMask flag) → any |
flag : boolean? |
(glDisable cap) → any |
cap : exact-integer? |
(glEnable cap) → any |
cap : exact-integer? |
(glBlendFunc sfactor dfactor) → any |
sfactor : exact-integer? |
dfactor : exact-integer? |
(glLogicOp opcode) → any |
opcode : exact-integer? |
(glStencilFunc func ref mask) → any |
func : exact-integer? |
ref : exact-integer? |
mask : exact-nonnegative-integer? |
(glStencilOp fail zfail zpass) → any |
fail : exact-integer? |
zfail : exact-integer? |
zpass : exact-integer? |
(glDepthFunc func) → any |
func : exact-integer? |
(glPixelStoref pname param) → any |
pname : exact-integer? |
param : flonum? |
(glPixelStorei pname param) → any |
pname : exact-integer? |
param : exact-integer? |
(glReadBuffer mode) → any |
mode : exact-integer? |
(glReadPixels | | x | | | | | | | y | | | | | | | width | | | | | | | height | | | | | | | format | | | | | | | type | | | | | | | pixels) | | → | | any |
|
x : exact-integer? |
y : exact-integer? |
width : exact-integer? |
height : exact-integer? |
format : exact-integer? |
type : exact-integer? |
pixels : cpointer? |
(glGetBooleanv pname) → (vectorof boolean?) |
pname : exact-integer? |
(glGetDoublev pname) → f64vector? |
pname : exact-integer? |
(glGetError) → exact-integer? |
(glGetFloatv pname) → f32vector? |
pname : exact-integer? |
(glGetIntegerv pname) → s32vector? |
pname : exact-integer? |
(glGetString name) → (or/c string? bytes?) |
name : exact-integer? |
(glGetTexImage | | target | | | | | | | level | | | | | | | format | | | | | | | type | | | | | | | pixels) | | → | | any |
|
target : exact-integer? |
level : exact-integer? |
format : exact-integer? |
type : exact-integer? |
pixels : cpointer? |
(glGetTexParameterfv target pname) → f32vector? |
target : exact-integer? |
pname : exact-integer? |
(glGetTexParameteriv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
(glGetTexLevelParameterfv | | target | | | | | | | level | | | | | | | pname) | | → | | f32vector? |
|
target : exact-integer? |
level : exact-integer? |
pname : exact-integer? |
(glGetTexLevelParameteriv | | target | | | | | | | level | | | | | | | pname) | | → | | s32vector? |
|
target : exact-integer? |
level : exact-integer? |
pname : exact-integer? |
(glIsEnabled cap) → boolean? |
cap : exact-integer? |
(glDepthRange near far) → any |
near : real? |
far : real? |
(glViewport x y width height) → any |
x : exact-integer? |
y : exact-integer? |
width : exact-integer? |
height : exact-integer? |
(glNewList list mode) → any |
list : exact-nonnegative-integer? |
mode : exact-integer? |
Deprecated in version 3.1.
Deprecated in version 3.1.
(glCallList list) → any |
list : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glCallLists n type lists) → any |
n : exact-integer? |
type : exact-integer? |
lists : cpointer? |
Deprecated in version 3.1.
(glDeleteLists list range) → any |
list : exact-nonnegative-integer? |
range : exact-integer? |
Deprecated in version 3.1.
(glGenLists range) → exact-nonnegative-integer? |
range : exact-integer? |
Deprecated in version 3.1.
(glListBase base) → any |
base : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glBegin mode) → any |
mode : exact-integer? |
Deprecated in version 3.1.
(glBitmap | | width | | | | | | | height | | | | | | | xorig | | | | | | | yorig | | | | | | | xmove | | | | | | | ymove | | | | | | | bitmap) | | → | | any |
|
width : exact-integer? |
height : exact-integer? |
xorig : flonum? |
yorig : flonum? |
xmove : flonum? |
ymove : flonum? |
bitmap : (or/c string? bytes?) |
Deprecated in version 3.1.
(glColor3b red green blue) → any |
red : (integer-in -128 127) |
green : (integer-in -128 127) |
blue : (integer-in -128 127) |
Deprecated in version 3.1.
(glColor3bv v) → any |
v : s8vector? |
Deprecated in version 3.1.
(glColor3d red green blue) → any |
red : real? |
green : real? |
blue : real? |
Deprecated in version 3.1.
(glColor3dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glColor3f red green blue) → any |
red : flonum? |
green : flonum? |
blue : flonum? |
Deprecated in version 3.1.
(glColor3fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glColor3i red green blue) → any |
red : exact-integer? |
green : exact-integer? |
blue : exact-integer? |
Deprecated in version 3.1.
(glColor3iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glColor3s red green blue) → any |
red : (integer-in -32768 32767) |
green : (integer-in -32768 32767) |
blue : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glColor3sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glColor3ub red green blue) → any |
red : (integer-in 0 255) |
green : (integer-in 0 255) |
blue : (integer-in 0 255) |
Deprecated in version 3.1.
(glColor3ubv v) → any |
v : (or/c string? bytes?) |
Deprecated in version 3.1.
(glColor3ui red green blue) → any |
red : exact-nonnegative-integer? |
green : exact-nonnegative-integer? |
blue : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glColor3uiv v) → any |
v : u32vector? |
Deprecated in version 3.1.
(glColor3us red green blue) → any |
red : (integer-in 0 65535) |
green : (integer-in 0 65535) |
blue : (integer-in 0 65535) |
Deprecated in version 3.1.
(glColor3usv v) → any |
v : u16vector? |
Deprecated in version 3.1.
(glColor4b red green blue alpha) → any |
red : (integer-in -128 127) |
green : (integer-in -128 127) |
blue : (integer-in -128 127) |
alpha : (integer-in -128 127) |
Deprecated in version 3.1.
(glColor4bv v) → any |
v : s8vector? |
Deprecated in version 3.1.
(glColor4d red green blue alpha) → any |
red : real? |
green : real? |
blue : real? |
alpha : real? |
Deprecated in version 3.1.
(glColor4dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glColor4f red green blue alpha) → any |
red : flonum? |
green : flonum? |
blue : flonum? |
alpha : flonum? |
Deprecated in version 3.1.
(glColor4fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glColor4i red green blue alpha) → any |
red : exact-integer? |
green : exact-integer? |
blue : exact-integer? |
alpha : exact-integer? |
Deprecated in version 3.1.
(glColor4iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glColor4s red green blue alpha) → any |
red : (integer-in -32768 32767) |
green : (integer-in -32768 32767) |
blue : (integer-in -32768 32767) |
alpha : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glColor4sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glColor4ub red green blue alpha) → any |
red : (integer-in 0 255) |
green : (integer-in 0 255) |
blue : (integer-in 0 255) |
alpha : (integer-in 0 255) |
Deprecated in version 3.1.
(glColor4ubv v) → any |
v : (or/c string? bytes?) |
Deprecated in version 3.1.
(glColor4ui red green blue alpha) → any |
red : exact-nonnegative-integer? |
green : exact-nonnegative-integer? |
blue : exact-nonnegative-integer? |
alpha : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glColor4uiv v) → any |
v : u32vector? |
Deprecated in version 3.1.
(glColor4us red green blue alpha) → any |
red : (integer-in 0 65535) |
green : (integer-in 0 65535) |
blue : (integer-in 0 65535) |
alpha : (integer-in 0 65535) |
Deprecated in version 3.1.
(glColor4usv v) → any |
v : u16vector? |
Deprecated in version 3.1.
(glEdgeFlag flag) → any |
flag : boolean? |
Deprecated in version 3.1.
(glEdgeFlagv flag) → any |
flag : boolean? |
Deprecated in version 3.1.
Deprecated in version 3.1.
(glIndexd c) → any |
c : real? |
Deprecated in version 3.1.
(glIndexdv c) → any |
c : real? |
Deprecated in version 3.1.
(glIndexf c) → any |
c : flonum? |
Deprecated in version 3.1.
(glIndexfv c) → any |
c : flonum? |
Deprecated in version 3.1.
(glIndexi c) → any |
c : exact-integer? |
Deprecated in version 3.1.
(glIndexiv c) → any |
c : exact-integer? |
Deprecated in version 3.1.
(glIndexs c) → any |
c : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glIndexsv c) → any |
c : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glNormal3b nx ny nz) → any |
nx : (integer-in -128 127) |
ny : (integer-in -128 127) |
nz : (integer-in -128 127) |
Deprecated in version 3.1.
(glNormal3bv v) → any |
v : s8vector? |
Deprecated in version 3.1.
(glNormal3d nx ny nz) → any |
nx : real? |
ny : real? |
nz : real? |
Deprecated in version 3.1.
(glNormal3dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glNormal3f nx ny nz) → any |
nx : flonum? |
ny : flonum? |
nz : flonum? |
Deprecated in version 3.1.
(glNormal3fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glNormal3i nx ny nz) → any |
nx : exact-integer? |
ny : exact-integer? |
nz : exact-integer? |
Deprecated in version 3.1.
(glNormal3iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glNormal3s nx ny nz) → any |
nx : (integer-in -32768 32767) |
ny : (integer-in -32768 32767) |
nz : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glNormal3sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glRasterPos2d x y) → any |
x : real? |
y : real? |
Deprecated in version 3.1.
(glRasterPos2dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glRasterPos2f x y) → any |
x : flonum? |
y : flonum? |
Deprecated in version 3.1.
(glRasterPos2fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glRasterPos2i x y) → any |
x : exact-integer? |
y : exact-integer? |
Deprecated in version 3.1.
(glRasterPos2iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glRasterPos2s x y) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glRasterPos2sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glRasterPos3d x y z) → any |
x : real? |
y : real? |
z : real? |
Deprecated in version 3.1.
(glRasterPos3dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glRasterPos3f x y z) → any |
x : flonum? |
y : flonum? |
z : flonum? |
Deprecated in version 3.1.
(glRasterPos3fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glRasterPos3i x y z) → any |
x : exact-integer? |
y : exact-integer? |
z : exact-integer? |
Deprecated in version 3.1.
(glRasterPos3iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glRasterPos3s x y z) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
z : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glRasterPos3sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glRasterPos4d x y z w) → any |
x : real? |
y : real? |
z : real? |
w : real? |
Deprecated in version 3.1.
(glRasterPos4dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glRasterPos4f x y z w) → any |
x : flonum? |
y : flonum? |
z : flonum? |
w : flonum? |
Deprecated in version 3.1.
(glRasterPos4fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glRasterPos4i x y z w) → any |
x : exact-integer? |
y : exact-integer? |
z : exact-integer? |
w : exact-integer? |
Deprecated in version 3.1.
(glRasterPos4iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glRasterPos4s x y z w) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
z : (integer-in -32768 32767) |
w : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glRasterPos4sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glRectd x1 y1 x2 y2) → any |
x1 : real? |
y1 : real? |
x2 : real? |
y2 : real? |
Deprecated in version 3.1.
(glRectdv v1 v2) → any |
v1 : f64vector? |
v2 : f64vector? |
Deprecated in version 3.1.
(glRectf x1 y1 x2 y2) → any |
x1 : flonum? |
y1 : flonum? |
x2 : flonum? |
y2 : flonum? |
Deprecated in version 3.1.
(glRectfv v1 v2) → any |
v1 : f32vector? |
v2 : f32vector? |
Deprecated in version 3.1.
(glRecti x1 y1 x2 y2) → any |
x1 : exact-integer? |
y1 : exact-integer? |
x2 : exact-integer? |
y2 : exact-integer? |
Deprecated in version 3.1.
(glRectiv v1 v2) → any |
v1 : s32vector? |
v2 : s32vector? |
Deprecated in version 3.1.
(glRects x1 y1 x2 y2) → any |
x1 : (integer-in -32768 32767) |
y1 : (integer-in -32768 32767) |
x2 : (integer-in -32768 32767) |
y2 : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glRectsv v1 v2) → any |
v1 : s16vector? |
v2 : s16vector? |
Deprecated in version 3.1.
(glTexCoord1d s) → any |
s : real? |
Deprecated in version 3.1.
(glTexCoord1dv v) → any |
v : real? |
Deprecated in version 3.1.
(glTexCoord1f s) → any |
s : flonum? |
Deprecated in version 3.1.
(glTexCoord1fv v) → any |
v : flonum? |
Deprecated in version 3.1.
(glTexCoord1i s) → any |
s : exact-integer? |
Deprecated in version 3.1.
(glTexCoord1iv v) → any |
v : exact-integer? |
Deprecated in version 3.1.
(glTexCoord1s s) → any |
s : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glTexCoord1sv v) → any |
v : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glTexCoord2d s t) → any |
s : real? |
t : real? |
Deprecated in version 3.1.
(glTexCoord2dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glTexCoord2f s t) → any |
s : flonum? |
t : flonum? |
Deprecated in version 3.1.
(glTexCoord2fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glTexCoord2i s t) → any |
s : exact-integer? |
t : exact-integer? |
Deprecated in version 3.1.
(glTexCoord2iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glTexCoord2s s t) → any |
s : (integer-in -32768 32767) |
t : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glTexCoord2sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glTexCoord3d s t r) → any |
s : real? |
t : real? |
r : real? |
Deprecated in version 3.1.
(glTexCoord3dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glTexCoord3f s t r) → any |
s : flonum? |
t : flonum? |
r : flonum? |
Deprecated in version 3.1.
(glTexCoord3fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glTexCoord3i s t r) → any |
s : exact-integer? |
t : exact-integer? |
r : exact-integer? |
Deprecated in version 3.1.
(glTexCoord3iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glTexCoord3s s t r) → any |
s : (integer-in -32768 32767) |
t : (integer-in -32768 32767) |
r : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glTexCoord3sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glTexCoord4d s t r q) → any |
s : real? |
t : real? |
r : real? |
q : real? |
Deprecated in version 3.1.
(glTexCoord4dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glTexCoord4f s t r q) → any |
s : flonum? |
t : flonum? |
r : flonum? |
q : flonum? |
Deprecated in version 3.1.
(glTexCoord4fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glTexCoord4i s t r q) → any |
s : exact-integer? |
t : exact-integer? |
r : exact-integer? |
q : exact-integer? |
Deprecated in version 3.1.
(glTexCoord4iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glTexCoord4s s t r q) → any |
s : (integer-in -32768 32767) |
t : (integer-in -32768 32767) |
r : (integer-in -32768 32767) |
q : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glTexCoord4sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glVertex2d x y) → any |
x : real? |
y : real? |
Deprecated in version 3.1.
(glVertex2dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glVertex2f x y) → any |
x : flonum? |
y : flonum? |
Deprecated in version 3.1.
(glVertex2fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glVertex2i x y) → any |
x : exact-integer? |
y : exact-integer? |
Deprecated in version 3.1.
(glVertex2iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glVertex2s x y) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertex2sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glVertex3d x y z) → any |
x : real? |
y : real? |
z : real? |
Deprecated in version 3.1.
(glVertex3dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glVertex3f x y z) → any |
x : flonum? |
y : flonum? |
z : flonum? |
Deprecated in version 3.1.
(glVertex3fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glVertex3i x y z) → any |
x : exact-integer? |
y : exact-integer? |
z : exact-integer? |
Deprecated in version 3.1.
(glVertex3iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glVertex3s x y z) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
z : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertex3sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glVertex4d x y z w) → any |
x : real? |
y : real? |
z : real? |
w : real? |
Deprecated in version 3.1.
(glVertex4dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glVertex4f x y z w) → any |
x : flonum? |
y : flonum? |
z : flonum? |
w : flonum? |
Deprecated in version 3.1.
(glVertex4fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glVertex4i x y z w) → any |
x : exact-integer? |
y : exact-integer? |
z : exact-integer? |
w : exact-integer? |
Deprecated in version 3.1.
(glVertex4iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glVertex4s x y z w) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
z : (integer-in -32768 32767) |
w : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertex4sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glClipPlane plane equation) → any |
plane : exact-integer? |
equation : f64vector? |
Deprecated in version 3.1.
(glColorMaterial face mode) → any |
face : exact-integer? |
mode : exact-integer? |
Deprecated in version 3.1.
(glFogf pname param) → any |
pname : exact-integer? |
param : flonum? |
Deprecated in version 3.1.
(glFogfv pname params) → any |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glFogi pname param) → any |
pname : exact-integer? |
param : exact-integer? |
Deprecated in version 3.1.
(glFogiv pname params) → any |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glLightf light pname param) → any |
light : exact-integer? |
pname : exact-integer? |
param : flonum? |
Deprecated in version 3.1.
(glLightfv light pname params) → any |
light : exact-integer? |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glLighti light pname param) → any |
light : exact-integer? |
pname : exact-integer? |
param : exact-integer? |
Deprecated in version 3.1.
(glLightiv light pname params) → any |
light : exact-integer? |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glLightModelf pname param) → any |
pname : exact-integer? |
param : flonum? |
Deprecated in version 3.1.
(glLightModelfv pname params) → any |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glLightModeli pname param) → any |
pname : exact-integer? |
param : exact-integer? |
Deprecated in version 3.1.
(glLightModeliv pname params) → any |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glLineStipple factor pattern) → any |
factor : exact-integer? |
pattern : (integer-in 0 65535) |
Deprecated in version 3.1.
(glMaterialf face pname param) → any |
face : exact-integer? |
pname : exact-integer? |
param : flonum? |
Deprecated in version 3.1.
(glMaterialfv face pname params) → any |
face : exact-integer? |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glMateriali face pname param) → any |
face : exact-integer? |
pname : exact-integer? |
param : exact-integer? |
Deprecated in version 3.1.
(glMaterialiv face pname params) → any |
face : exact-integer? |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glPolygonStipple mask) → any |
mask : (or/c string? bytes?) |
Deprecated in version 3.1.
(glShadeModel mode) → any |
mode : exact-integer? |
Deprecated in version 3.1.
(glTexEnvf target pname param) → any |
target : exact-integer? |
pname : exact-integer? |
param : flonum? |
Deprecated in version 3.1.
(glTexEnvfv target pname params) → any |
target : exact-integer? |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glTexEnvi target pname param) → any |
target : exact-integer? |
pname : exact-integer? |
param : exact-integer? |
Deprecated in version 3.1.
(glTexEnviv target pname params) → any |
target : exact-integer? |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glTexGend coord pname param) → any |
coord : exact-integer? |
pname : exact-integer? |
param : real? |
Deprecated in version 3.1.
(glTexGendv coord pname params) → any |
coord : exact-integer? |
pname : exact-integer? |
params : f64vector? |
Deprecated in version 3.1.
(glTexGenf coord pname param) → any |
coord : exact-integer? |
pname : exact-integer? |
param : flonum? |
Deprecated in version 3.1.
(glTexGenfv coord pname params) → any |
coord : exact-integer? |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glTexGeni coord pname param) → any |
coord : exact-integer? |
pname : exact-integer? |
param : exact-integer? |
Deprecated in version 3.1.
(glTexGeniv coord pname params) → any |
coord : exact-integer? |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glFeedbackBuffer size type) → f32vector? |
size : exact-integer? |
type : exact-integer? |
Deprecated in version 3.1.
(glSelectBuffer size) → u32vector? |
size : exact-integer? |
Deprecated in version 3.1.
(glRenderMode mode) → exact-integer? |
mode : exact-integer? |
Deprecated in version 3.1.
Deprecated in version 3.1.
(glLoadName name) → any |
name : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glPassThrough token) → any |
token : flonum? |
Deprecated in version 3.1.
Deprecated in version 3.1.
(glPushName name) → any |
name : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glClearAccum red green blue alpha) → any |
red : flonum? |
green : flonum? |
blue : flonum? |
alpha : flonum? |
Deprecated in version 3.1.
(glClearIndex c) → any |
c : flonum? |
Deprecated in version 3.1.
(glIndexMask mask) → any |
mask : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glAccum op value) → any |
op : exact-integer? |
value : flonum? |
Deprecated in version 3.1.
Deprecated in version 3.1.
(glPushAttrib mask) → any |
mask : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glMap1d target u1 u2 stride order points) → any |
target : exact-integer? |
u1 : real? |
u2 : real? |
stride : exact-integer? |
order : exact-integer? |
points : f64vector? |
Deprecated in version 3.1.
(glMap1f target u1 u2 stride order points) → any |
target : exact-integer? |
u1 : flonum? |
u2 : flonum? |
stride : exact-integer? |
order : exact-integer? |
points : f32vector? |
Deprecated in version 3.1.
(glMap2d | | target | | | | | | | u1 | | | | | | | u2 | | | | | | | ustride | | | | | | | uorder | | | | | | | v1 | | | | | | | v2 | | | | | | | vstride | | | | | | | vorder | | | | | | | points) | | → | | any |
|
target : exact-integer? |
u1 : real? |
u2 : real? |
ustride : exact-integer? |
uorder : exact-integer? |
v1 : real? |
v2 : real? |
vstride : exact-integer? |
vorder : exact-integer? |
points : f64vector? |
Deprecated in version 3.1.
(glMap2f | | target | | | | | | | u1 | | | | | | | u2 | | | | | | | ustride | | | | | | | uorder | | | | | | | v1 | | | | | | | v2 | | | | | | | vstride | | | | | | | vorder | | | | | | | points) | | → | | any |
|
target : exact-integer? |
u1 : flonum? |
u2 : flonum? |
ustride : exact-integer? |
uorder : exact-integer? |
v1 : flonum? |
v2 : flonum? |
vstride : exact-integer? |
vorder : exact-integer? |
points : f32vector? |
Deprecated in version 3.1.
(glMapGrid1d un u1 u2) → any |
un : exact-integer? |
u1 : real? |
u2 : real? |
Deprecated in version 3.1.
(glMapGrid1f un u1 u2) → any |
un : exact-integer? |
u1 : flonum? |
u2 : flonum? |
Deprecated in version 3.1.
(glMapGrid2d un u1 u2 vn v1 v2) → any |
un : exact-integer? |
u1 : real? |
u2 : real? |
vn : exact-integer? |
v1 : real? |
v2 : real? |
Deprecated in version 3.1.
(glMapGrid2f un u1 u2 vn v1 v2) → any |
un : exact-integer? |
u1 : flonum? |
u2 : flonum? |
vn : exact-integer? |
v1 : flonum? |
v2 : flonum? |
Deprecated in version 3.1.
(glEvalCoord1d u) → any |
u : real? |
Deprecated in version 3.1.
(glEvalCoord1dv u) → any |
u : real? |
Deprecated in version 3.1.
(glEvalCoord1f u) → any |
u : flonum? |
Deprecated in version 3.1.
(glEvalCoord1fv u) → any |
u : flonum? |
Deprecated in version 3.1.
(glEvalCoord2d u v) → any |
u : real? |
v : real? |
Deprecated in version 3.1.
(glEvalCoord2dv u) → any |
u : f64vector? |
Deprecated in version 3.1.
(glEvalCoord2f u v) → any |
u : flonum? |
v : flonum? |
Deprecated in version 3.1.
(glEvalCoord2fv u) → any |
u : f32vector? |
Deprecated in version 3.1.
(glEvalMesh1 mode i1 i2) → any |
mode : exact-integer? |
i1 : exact-integer? |
i2 : exact-integer? |
Deprecated in version 3.1.
(glEvalPoint1 i) → any |
i : exact-integer? |
Deprecated in version 3.1.
(glEvalMesh2 mode i1 i2 j1 j2) → any |
mode : exact-integer? |
i1 : exact-integer? |
i2 : exact-integer? |
j1 : exact-integer? |
j2 : exact-integer? |
Deprecated in version 3.1.
(glEvalPoint2 i j) → any |
i : exact-integer? |
j : exact-integer? |
Deprecated in version 3.1.
(glAlphaFunc func ref) → any |
func : exact-integer? |
ref : flonum? |
Deprecated in version 3.1.
(glPixelZoom xfactor yfactor) → any |
xfactor : flonum? |
yfactor : flonum? |
Deprecated in version 3.1.
(glPixelTransferf pname param) → any |
pname : exact-integer? |
param : flonum? |
Deprecated in version 3.1.
(glPixelTransferi pname param) → any |
pname : exact-integer? |
param : exact-integer? |
Deprecated in version 3.1.
(glPixelMapfv map mapsize the-values) → any |
map : exact-integer? |
mapsize : exact-integer? |
the-values : f32vector? |
Deprecated in version 3.1.
(glPixelMapuiv map mapsize the-values) → any |
map : exact-integer? |
mapsize : exact-integer? |
the-values : u32vector? |
Deprecated in version 3.1.
(glPixelMapusv map mapsize the-values) → any |
map : exact-integer? |
mapsize : exact-integer? |
the-values : u16vector? |
Deprecated in version 3.1.
(glCopyPixels x y width height type) → any |
x : exact-integer? |
y : exact-integer? |
width : exact-integer? |
height : exact-integer? |
type : exact-integer? |
Deprecated in version 3.1.
(glDrawPixels width height format type pixels) → any |
width : exact-integer? |
height : exact-integer? |
format : exact-integer? |
type : exact-integer? |
pixels : cpointer? |
Deprecated in version 3.1.
(glGetClipPlane plane) → f64vector? |
plane : exact-integer? |
Deprecated in version 3.1.
(glGetLightfv light pname) → f32vector? |
light : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetLightiv light pname) → s32vector? |
light : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetMapdv target query v) → any |
target : exact-integer? |
query : exact-integer? |
v : f64vector? |
Deprecated in version 3.1.
(glGetMapfv target query v) → any |
target : exact-integer? |
query : exact-integer? |
v : f32vector? |
Deprecated in version 3.1.
(glGetMapiv target query v) → any |
target : exact-integer? |
query : exact-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glGetMaterialfv face pname) → f32vector? |
face : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetMaterialiv face pname) → s32vector? |
face : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetPixelMapfv map the-values) → any |
map : exact-integer? |
the-values : f32vector? |
Deprecated in version 3.1.
(glGetPixelMapuiv map the-values) → any |
map : exact-integer? |
the-values : u32vector? |
Deprecated in version 3.1.
(glGetPixelMapusv map the-values) → any |
map : exact-integer? |
the-values : u16vector? |
Deprecated in version 3.1.
(glGetPolygonStipple mask) → any |
mask : bytes? |
Deprecated in version 3.1.
(glGetTexEnvfv target pname) → f32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetTexEnviv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetTexGendv coord pname) → f64vector? |
coord : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetTexGenfv coord pname) → f32vector? |
coord : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetTexGeniv coord pname) → s32vector? |
coord : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glIsList list) → boolean? |
list : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glFrustum left right bottom top zNear zFar) → any |
left : real? |
right : real? |
bottom : real? |
top : real? |
zNear : real? |
zFar : real? |
Deprecated in version 3.1.
Deprecated in version 3.1.
(glLoadMatrixf m) → any |
m : f32vector? |
Deprecated in version 3.1.
(glLoadMatrixd m) → any |
m : f64vector? |
Deprecated in version 3.1.
(glMatrixMode mode) → any |
mode : exact-integer? |
Deprecated in version 3.1.
(glMultMatrixf m) → any |
m : f32vector? |
Deprecated in version 3.1.
(glMultMatrixd m) → any |
m : f64vector? |
Deprecated in version 3.1.
(glOrtho left right bottom top zNear zFar) → any |
left : real? |
right : real? |
bottom : real? |
top : real? |
zNear : real? |
zFar : real? |
Deprecated in version 3.1.
Deprecated in version 3.1.
Deprecated in version 3.1.
(glRotated angle x y z) → any |
angle : real? |
x : real? |
y : real? |
z : real? |
Deprecated in version 3.1.
(glRotatef angle x y z) → any |
angle : flonum? |
x : flonum? |
y : flonum? |
z : flonum? |
Deprecated in version 3.1.
(glScaled x y z) → any |
x : real? |
y : real? |
z : real? |
Deprecated in version 3.1.
(glScalef x y z) → any |
x : flonum? |
y : flonum? |
z : flonum? |
Deprecated in version 3.1.
(glTranslated x y z) → any |
x : real? |
y : real? |
z : real? |
Deprecated in version 3.1.
(glTranslatef x y z) → any |
x : flonum? |
y : flonum? |
z : flonum? |
Deprecated in version 3.1.
2 OpenGL version 1.1
(glDrawArrays mode first count) → any |
mode : exact-integer? |
first : exact-integer? |
count : exact-integer? |
(glDrawElements mode count type indices) → any |
mode : exact-integer? |
count : exact-integer? |
type : exact-integer? |
indices : cpointer? |
(glGetPointerv pname) → cpointer? |
pname : exact-integer? |
(glPolygonOffset factor units) → any |
factor : flonum? |
units : flonum? |
(glBindTexture target texture) → any |
target : exact-integer? |
texture : exact-nonnegative-integer? |
(glDeleteTextures n textures) → any |
n : exact-integer? |
textures : u32vector? |
(glGenTextures n) → u32vector? |
n : exact-integer? |
(glIsTexture texture) → boolean? |
texture : exact-nonnegative-integer? |
(glArrayElement i) → any |
i : exact-integer? |
Deprecated in version 3.1.
(glColorPointer size type stride pointer) → any |
size : exact-integer? |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glDisableClientState array) → any |
array : exact-integer? |
Deprecated in version 3.1.
(glEdgeFlagPointer stride pointer) → any |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glEnableClientState array) → any |
array : exact-integer? |
Deprecated in version 3.1.
(glIndexPointer type stride pointer) → any |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glInterleavedArrays format stride pointer) → any |
format : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glNormalPointer type stride pointer) → any |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glTexCoordPointer size type stride pointer) → any |
size : exact-integer? |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glVertexPointer size type stride pointer) → any |
size : exact-integer? |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glAreTexturesResident n textures) |
| → | | boolean? | | (vectorof boolean?) |
|
|
n : exact-integer? |
textures : u32vector? |
Deprecated in version 3.1.
(glPrioritizeTextures n textures priorities) → any |
n : exact-integer? |
textures : u32vector? |
priorities : f32vector? |
Deprecated in version 3.1.
(glIndexub c) → any |
c : (integer-in 0 255) |
(glIndexubv c) → any |
c : (integer-in 0 255) |
(glPopClientAttrib) → any |
Deprecated in version 3.1.
(glPushClientAttrib mask) → any |
mask : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glVertexAttribDivisor index divisor) → any |
index : exact-nonnegative-integer? |
divisor : exact-nonnegative-integer? |
3 OpenGL version 1.2
(glBlendColor red green blue alpha) → any |
red : flonum? |
green : flonum? |
blue : flonum? |
alpha : flonum? |
(glBlendEquation mode) → any |
mode : exact-integer? |
(glDrawRangeElements | | mode | | | | | | | start | | | | | | | end | | | | | | | count | | | | | | | type | | | | | | | indices) | | → | | any |
|
mode : exact-integer? |
start : exact-nonnegative-integer? |
end : exact-nonnegative-integer? |
count : exact-integer? |
type : exact-integer? |
indices : cpointer? |
(glColorTable | | target | | | | | | | internalformat | | | | | | | width | | | | | | | format | | | | | | | type | | | | | | | table) | | → | | any |
|
target : exact-integer? |
internalformat : exact-integer? |
width : exact-integer? |
format : exact-integer? |
type : exact-integer? |
table : cpointer? |
Deprecated in version 3.1.
(glColorTableParameterfv | | target | | | | | | | pname | | | | | | | params) | | → | | any |
|
target : exact-integer? |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glColorTableParameteriv | | target | | | | | | | pname | | | | | | | params) | | → | | any |
|
target : exact-integer? |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glCopyColorTable | | target | | | | | | | internalformat | | | | | | | x | | | | | | | y | | | | | | | width) | | → | | any |
|
target : exact-integer? |
internalformat : exact-integer? |
x : exact-integer? |
y : exact-integer? |
width : exact-integer? |
Deprecated in version 3.1.
(glGetColorTable target format type table) → any |
target : exact-integer? |
format : exact-integer? |
type : exact-integer? |
table : cpointer? |
Deprecated in version 3.1.
(glGetColorTableParameterfv target pname) → f32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetColorTableParameteriv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glColorSubTable | | target | | | | | | | start | | | | | | | count | | | | | | | format | | | | | | | type | | | | | | | data) | | → | | any |
|
target : exact-integer? |
start : exact-integer? |
count : exact-integer? |
format : exact-integer? |
type : exact-integer? |
data : cpointer? |
Deprecated in version 3.1.
(glCopyColorSubTable target start x y width) → any |
target : exact-integer? |
start : exact-integer? |
x : exact-integer? |
y : exact-integer? |
width : exact-integer? |
Deprecated in version 3.1.
(glConvolutionParameterf | | target | | | | | | | pname | | | | | | | params) | | → | | any |
|
target : exact-integer? |
pname : exact-integer? |
params : flonum? |
Deprecated in version 3.1.
(glConvolutionParameterfv | | target | | | | | | | pname | | | | | | | params) | | → | | any |
|
target : exact-integer? |
pname : exact-integer? |
params : f32vector? |
Deprecated in version 3.1.
(glConvolutionParameteri | | target | | | | | | | pname | | | | | | | params) | | → | | any |
|
target : exact-integer? |
pname : exact-integer? |
params : exact-integer? |
Deprecated in version 3.1.
(glConvolutionParameteriv | | target | | | | | | | pname | | | | | | | params) | | → | | any |
|
target : exact-integer? |
pname : exact-integer? |
params : s32vector? |
Deprecated in version 3.1.
(glGetConvolutionFilter | | target | | | | | | | format | | | | | | | type | | | | | | | image) | | → | | any |
|
target : exact-integer? |
format : exact-integer? |
type : exact-integer? |
image : cpointer? |
Deprecated in version 3.1.
(glGetConvolutionParameterfv target pname) → f32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetConvolutionParameteriv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetSeparableFilter | | target | | | | | | | format | | | | | | | type | | | | | | | row | | | | | | | column | | | | | | | span) | | → | | any |
|
target : exact-integer? |
format : exact-integer? |
type : exact-integer? |
row : cpointer? |
column : cpointer? |
span : cpointer? |
Deprecated in version 3.1.
(glGetHistogram | | target | | | | | | | reset | | | | | | | format | | | | | | | type | | | | | | | the-values) | | → | | any |
|
target : exact-integer? |
reset : boolean? |
format : exact-integer? |
type : exact-integer? |
the-values : cpointer? |
Deprecated in version 3.1.
(glGetHistogramParameterfv target pname) → f32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetHistogramParameteriv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetMinmax | | target | | | | | | | reset | | | | | | | format | | | | | | | type | | | | | | | the-values) | | → | | any |
|
target : exact-integer? |
reset : boolean? |
format : exact-integer? |
type : exact-integer? |
the-values : cpointer? |
Deprecated in version 3.1.
(glGetMinmaxParameterfv target pname) → f32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glGetMinmaxParameteriv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
Deprecated in version 3.1.
(glHistogram | | target | | | | | | | width | | | | | | | internalformat | | | | | | | sink) | | → | | any |
|
target : exact-integer? |
width : exact-integer? |
internalformat : exact-integer? |
sink : boolean? |
Deprecated in version 3.1.
(glMinmax target internalformat sink) → any |
target : exact-integer? |
internalformat : exact-integer? |
sink : boolean? |
Deprecated in version 3.1.
(glResetHistogram target) → any |
target : exact-integer? |
Deprecated in version 3.1.
(glResetMinmax target) → any |
target : exact-integer? |
Deprecated in version 3.1.
(glFramebufferTexture | | target | | | | | | | attachment | | | | | | | texture | | | | | | | level) | | → | | any |
|
target : exact-integer? |
attachment : exact-integer? |
texture : exact-nonnegative-integer? |
level : exact-integer? |
(glMinSampleShading value) → any |
value : flonum? |
(glBlendEquationi buf mode) → any |
buf : exact-nonnegative-integer? |
mode : exact-integer? |
(glBlendEquationSeparatei | | buf | | | | | | | modeRGB | | | | | | | modeAlpha) | | → | | any |
|
buf : exact-nonnegative-integer? |
modeRGB : exact-integer? |
modeAlpha : exact-integer? |
(glBlendFunci buf src dst) → any |
buf : exact-nonnegative-integer? |
src : exact-integer? |
dst : exact-integer? |
(glBlendFuncSeparatei | | buf | | | | | | | srcRGB | | | | | | | dstRGB | | | | | | | srcAlpha | | | | | | | dstAlpha) | | → | | any |
|
buf : exact-nonnegative-integer? |
srcRGB : exact-integer? |
dstRGB : exact-integer? |
srcAlpha : exact-integer? |
dstAlpha : exact-integer? |
(glDrawElementsBaseVertex | | mode | | | | | | | count | | | | | | | type | | | | | | | indices | | | | | | | basevertex) | | → | | any |
|
mode : exact-integer? |
count : exact-integer? |
type : exact-integer? |
indices : cpointer? |
basevertex : exact-integer? |
(glDrawRangeElementsBaseVertex | | mode | | | | | | | start | | | | | | | end | | | | | | | count | | | | | | | type | | | | | | | indices | | | | | | | basevertex) | | → | | any |
|
mode : exact-integer? |
start : exact-nonnegative-integer? |
end : exact-nonnegative-integer? |
count : exact-integer? |
type : exact-integer? |
indices : cpointer? |
basevertex : exact-integer? |
(glDrawElementsInstancedBaseVertex | | mode | | | | | | | count | | | | | | | type | | | | | | | indices | | | | | | | primcount | | | | | | | basevertex) | | → | | any |
|
mode : exact-integer? |
count : exact-integer? |
type : exact-integer? |
indices : cpointer? |
primcount : exact-integer? |
basevertex : exact-integer? |
(glMultiDrawElementsBaseVertex | | mode | | | | | | | count | | | | | | | type | | | | | | | indices | | | | | | | primcount | | | | | | | basevertex) | | → | | any |
|
mode : exact-integer? |
count : s32vector? |
type : exact-integer? |
indices : (vectorof cpointer?) |
primcount : exact-integer? |
basevertex : s32vector? |
(glProvokingVertex mode) → any |
mode : exact-integer? |
(glFenceSync condition flags) → cpointer? |
condition : exact-integer? |
flags : exact-nonnegative-integer? |
(glIsSync sync) → boolean? |
sync : cpointer? |
(glDeleteSync sync) → any |
sync : cpointer? |
(glClientWaitSync sync flags timeout) → exact-integer? |
sync : cpointer? |
flags : exact-nonnegative-integer? |
timeout : exact-nonnegative-integer? |
(glWaitSync sync flags timeout) → any |
sync : cpointer? |
flags : exact-nonnegative-integer? |
timeout : exact-nonnegative-integer? |
(glGetInteger64v pname) → s64vector? |
pname : exact-integer? |
(glGetSynciv sync pname bufSize) | | → | | exact-integer? | | s32vector? |
|
|
sync : cpointer? |
pname : exact-integer? |
bufSize : exact-integer? |
(glTexImage2DMultisample | | target | | | | | | | samples | | | | | | | internalformat | | | | | | | width | | | | | | | height | | | | | | | fixedsamplelocations) | | → | | any |
|
target : exact-integer? |
samples : exact-integer? |
internalformat : exact-integer? |
width : exact-integer? |
height : exact-integer? |
fixedsamplelocations : boolean? |
(glTexImage3DMultisample | | target | | | | | | | samples | | | | | | | internalformat | | | | | | | width | | | | | | | height | | | | | | | depth | | | | | | | fixedsamplelocations) | | → | | any |
|
target : exact-integer? |
samples : exact-integer? |
internalformat : exact-integer? |
width : exact-integer? |
height : exact-integer? |
depth : exact-integer? |
fixedsamplelocations : boolean? |
(glGetMultisamplefv pname index) → f32vector? |
pname : exact-integer? |
index : exact-nonnegative-integer? |
(glSampleMaski index mask) → any |
index : exact-nonnegative-integer? |
mask : exact-nonnegative-integer? |
(glBindFragDataLocationIndexed | | program | | | | | | | colorNumber | | | | | | | index | | | | | | | name) | | → | | any |
|
program : exact-nonnegative-integer? |
colorNumber : exact-nonnegative-integer? |
index : exact-nonnegative-integer? |
name : (or/c string? bytes?) |
(glGetFragDataIndex program name) → exact-integer? |
program : exact-nonnegative-integer? |
name : (or/c string? bytes?) |
(glGenSamplers count) → u32vector? |
count : exact-integer? |
(glDeleteSamplers count samplers) → any |
count : exact-integer? |
samplers : u32vector? |
(glIsSampler sampler) → boolean? |
sampler : exact-nonnegative-integer? |
(glBindSampler unit sampler) → any |
unit : exact-nonnegative-integer? |
sampler : exact-nonnegative-integer? |
(glSamplerParameteri sampler pname param) → any |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
param : exact-integer? |
(glSamplerParameteriv sampler pname param) → any |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
param : s32vector? |
(glSamplerParameterf sampler pname param) → any |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
param : flonum? |
(glSamplerParameterfv sampler pname param) → any |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
param : f32vector? |
(glSamplerParameterIiv sampler pname param) → any |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
param : s32vector? |
(glSamplerParameterIuiv sampler pname param) → any |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
param : u32vector? |
(glGetSamplerParameteriv sampler pname) → s32vector? |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetSamplerParameterIiv sampler pname) → s32vector? |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetSamplerParameterfv sampler pname) → f32vector? |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetSamplerParameterIuiv sampler pname) → u32vector? |
sampler : exact-nonnegative-integer? |
pname : exact-integer? |
(glQueryCounter id target) → any |
id : exact-nonnegative-integer? |
target : exact-integer? |
(glGetQueryObjecti64v id pname) → s64vector? |
id : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetQueryObjectui64v id pname) → u64vector? |
id : exact-nonnegative-integer? |
pname : exact-integer? |
(glVertexP2ui type value) → any |
type : exact-integer? |
value : exact-nonnegative-integer? |
(glVertexP2uiv type value) → any |
type : exact-integer? |
value : exact-nonnegative-integer? |
(glVertexP3ui type value) → any |
type : exact-integer? |
value : exact-nonnegative-integer? |
(glVertexP3uiv type value) → any |
type : exact-integer? |
value : exact-nonnegative-integer? |
(glVertexP4ui type value) → any |
type : exact-integer? |
value : exact-nonnegative-integer? |
(glVertexP4uiv type value) → any |
type : exact-integer? |
value : exact-nonnegative-integer? |
(glTexCoordP1ui type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glTexCoordP1uiv type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glTexCoordP2ui type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glTexCoordP2uiv type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glTexCoordP3ui type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glTexCoordP3uiv type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glTexCoordP4ui type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glTexCoordP4uiv type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP1ui texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP1uiv texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP2ui texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP2uiv texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP3ui texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP3uiv texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP4ui texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glMultiTexCoordP4uiv texture type coords) → any |
texture : exact-integer? |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glNormalP3ui type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glNormalP3uiv type coords) → any |
type : exact-integer? |
coords : exact-nonnegative-integer? |
(glColorP3ui type color) → any |
type : exact-integer? |
color : exact-nonnegative-integer? |
(glColorP3uiv type color) → any |
type : exact-integer? |
color : exact-nonnegative-integer? |
(glColorP4ui type color) → any |
type : exact-integer? |
color : exact-nonnegative-integer? |
(glColorP4uiv type color) → any |
type : exact-integer? |
color : exact-nonnegative-integer? |
(glSecondaryColorP3ui type color) → any |
type : exact-integer? |
color : exact-nonnegative-integer? |
(glSecondaryColorP3uiv type color) → any |
type : exact-integer? |
color : exact-nonnegative-integer? |
(glVertexAttribP1ui | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glVertexAttribP1uiv | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glVertexAttribP2ui | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glVertexAttribP2uiv | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glVertexAttribP3ui | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glVertexAttribP3uiv | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glVertexAttribP4ui | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glVertexAttribP4uiv | | index | | | | | | | type | | | | | | | normalized | | | | | | | value) | | → | | any |
|
index : exact-nonnegative-integer? |
type : exact-integer? |
normalized : boolean? |
value : exact-nonnegative-integer? |
(glDrawArraysIndirect mode indirect) → any |
mode : exact-integer? |
indirect : cpointer? |
(glDrawElementsIndirect mode type indirect) → any |
mode : exact-integer? |
type : exact-integer? |
indirect : cpointer? |
(glUniform1d location x) → any |
location : exact-integer? |
x : real? |
(glUniform2d location x y) → any |
location : exact-integer? |
x : real? |
y : real? |
(glUniform3d location x y z) → any |
location : exact-integer? |
x : real? |
y : real? |
z : real? |
(glUniform4d location x y z w) → any |
location : exact-integer? |
x : real? |
y : real? |
z : real? |
w : real? |
(glUniform1dv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f64vector? |
(glUniform2dv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f64vector? |
(glUniform3dv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f64vector? |
(glUniform4dv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f64vector? |
(glUniformMatrix2dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix3dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix4dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix2x3dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix2x4dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix3x2dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix3x4dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix4x2dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glUniformMatrix4x3dv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glGetUniformdv program location params) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
params : f64vector? |
(glGetSubroutineUniformLocation | | program | | | | | | | shadertype | | | | | | | name) | | → | | exact-integer? |
|
program : exact-nonnegative-integer? |
shadertype : exact-integer? |
name : (or/c string? bytes?) |
(glGetSubroutineIndex | | program | | | | | | | shadertype | | | | | | | name) | | → | | exact-nonnegative-integer? |
|
program : exact-nonnegative-integer? |
shadertype : exact-integer? |
name : (or/c string? bytes?) |
(glGetActiveSubroutineUniformiv | | program | | | | | | | shadertype | | | | | | | index | | | | | | | pname) | | → | | s32vector? |
|
program : exact-nonnegative-integer? |
shadertype : exact-integer? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetActiveSubroutineUniformName | | program | | | | shadertype | | | | index | | | | bufsize) | |
|
|
program : exact-nonnegative-integer? |
shadertype : exact-integer? |
index : exact-nonnegative-integer? |
bufsize : exact-integer? |
(glGetActiveSubroutineName | | program | | | | | | | shadertype | | | | | | | index | | | | | | | bufsize) | | → | | |
|
program : exact-nonnegative-integer? |
shadertype : exact-integer? |
index : exact-nonnegative-integer? |
bufsize : exact-integer? |
(glUniformSubroutinesuiv | | shadertype | | | | | | | count | | | | | | | indices) | | → | | any |
|
shadertype : exact-integer? |
count : exact-integer? |
indices : u32vector? |
(glGetUniformSubroutineuiv | | shadertype | | | | location) | |
|
→ exact-nonnegative-integer? |
shadertype : exact-integer? |
location : exact-integer? |
(glGetProgramStageiv | | program | | | | | | | shadertype | | | | | | | pname) | | → | | exact-integer? |
|
program : exact-nonnegative-integer? |
shadertype : exact-integer? |
pname : exact-integer? |
(glPatchParameteri pname value) → any |
pname : exact-integer? |
value : exact-integer? |
(glPatchParameterfv pname the-values) → any |
pname : exact-integer? |
the-values : f32vector? |
(glBindTransformFeedback target id) → any |
target : exact-integer? |
id : exact-nonnegative-integer? |
(glDeleteTransformFeedbacks n ids) → any |
n : exact-integer? |
ids : u32vector? |
(glGenTransformFeedbacks n) → u32vector? |
n : exact-integer? |
(glIsTransformFeedback id) → boolean? |
id : exact-nonnegative-integer? |
(glPauseTransformFeedback) → any |
(glResumeTransformFeedback) → any |
(glDrawTransformFeedback mode id) → any |
mode : exact-integer? |
id : exact-nonnegative-integer? |
(glDrawTransformFeedbackStream | | mode | | | | | | | id | | | | | | | stream) | | → | | any |
|
mode : exact-integer? |
id : exact-nonnegative-integer? |
stream : exact-nonnegative-integer? |
(glBeginQueryIndexed target index id) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
id : exact-nonnegative-integer? |
(glEndQueryIndexed target index) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
(glGetQueryIndexediv target index pname) → s32vector? |
target : exact-integer? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
4 OpenGL version 1.3
(glActiveTexture texture) → any |
texture : exact-integer? |
(glSampleCoverage value invert) → any |
value : flonum? |
invert : boolean? |
(glGetCompressedTexImage target level img) → any |
target : exact-integer? |
level : exact-integer? |
img : cpointer? |
(glClientActiveTexture texture) → any |
texture : exact-integer? |
Deprecated in version 3.1.
(glMultiTexCoord1d target s) → any |
target : exact-integer? |
s : real? |
Deprecated in version 3.1.
(glMultiTexCoord1dv target v) → any |
target : exact-integer? |
v : real? |
Deprecated in version 3.1.
(glMultiTexCoord1f target s) → any |
target : exact-integer? |
s : flonum? |
Deprecated in version 3.1.
(glMultiTexCoord1fv target v) → any |
target : exact-integer? |
v : flonum? |
Deprecated in version 3.1.
(glMultiTexCoord1i target s) → any |
target : exact-integer? |
s : exact-integer? |
Deprecated in version 3.1.
(glMultiTexCoord1iv target v) → any |
target : exact-integer? |
v : exact-integer? |
Deprecated in version 3.1.
(glMultiTexCoord1s target s) → any |
target : exact-integer? |
s : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glMultiTexCoord1sv target v) → any |
target : exact-integer? |
v : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glMultiTexCoord2d target s t) → any |
target : exact-integer? |
s : real? |
t : real? |
Deprecated in version 3.1.
(glMultiTexCoord2dv target v) → any |
target : exact-integer? |
v : f64vector? |
Deprecated in version 3.1.
(glMultiTexCoord2f target s t) → any |
target : exact-integer? |
s : flonum? |
t : flonum? |
Deprecated in version 3.1.
(glMultiTexCoord2fv target v) → any |
target : exact-integer? |
v : f32vector? |
Deprecated in version 3.1.
(glMultiTexCoord2i target s t) → any |
target : exact-integer? |
s : exact-integer? |
t : exact-integer? |
Deprecated in version 3.1.
(glMultiTexCoord2iv target v) → any |
target : exact-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glMultiTexCoord2s target s t) → any |
target : exact-integer? |
s : (integer-in -32768 32767) |
t : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glMultiTexCoord2sv target v) → any |
target : exact-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glMultiTexCoord3d target s t r) → any |
target : exact-integer? |
s : real? |
t : real? |
r : real? |
Deprecated in version 3.1.
(glMultiTexCoord3dv target v) → any |
target : exact-integer? |
v : f64vector? |
Deprecated in version 3.1.
(glMultiTexCoord3f target s t r) → any |
target : exact-integer? |
s : flonum? |
t : flonum? |
r : flonum? |
Deprecated in version 3.1.
(glMultiTexCoord3fv target v) → any |
target : exact-integer? |
v : f32vector? |
Deprecated in version 3.1.
(glMultiTexCoord3i target s t r) → any |
target : exact-integer? |
s : exact-integer? |
t : exact-integer? |
r : exact-integer? |
Deprecated in version 3.1.
(glMultiTexCoord3iv target v) → any |
target : exact-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glMultiTexCoord3s target s t r) → any |
target : exact-integer? |
s : (integer-in -32768 32767) |
t : (integer-in -32768 32767) |
r : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glMultiTexCoord3sv target v) → any |
target : exact-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glMultiTexCoord4d target s t r q) → any |
target : exact-integer? |
s : real? |
t : real? |
r : real? |
q : real? |
Deprecated in version 3.1.
(glMultiTexCoord4dv target v) → any |
target : exact-integer? |
v : f64vector? |
Deprecated in version 3.1.
(glMultiTexCoord4f target s t r q) → any |
target : exact-integer? |
s : flonum? |
t : flonum? |
r : flonum? |
q : flonum? |
Deprecated in version 3.1.
(glMultiTexCoord4fv target v) → any |
target : exact-integer? |
v : f32vector? |
Deprecated in version 3.1.
(glMultiTexCoord4i target s t r q) → any |
target : exact-integer? |
s : exact-integer? |
t : exact-integer? |
r : exact-integer? |
q : exact-integer? |
Deprecated in version 3.1.
(glMultiTexCoord4iv target v) → any |
target : exact-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glMultiTexCoord4s target s t r q) → any |
target : exact-integer? |
s : (integer-in -32768 32767) |
t : (integer-in -32768 32767) |
r : (integer-in -32768 32767) |
q : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glMultiTexCoord4sv target v) → any |
target : exact-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glLoadTransposeMatrixf m) → any |
m : f32vector? |
Deprecated in version 3.1.
(glLoadTransposeMatrixd m) → any |
m : f64vector? |
Deprecated in version 3.1.
(glMultTransposeMatrixf m) → any |
m : f32vector? |
Deprecated in version 3.1.
(glMultTransposeMatrixd m) → any |
m : f64vector? |
Deprecated in version 3.1.
5 OpenGL version 1.4
(glBlendFuncSeparate | | sfactorRGB | | | | | | | dfactorRGB | | | | | | | sfactorAlpha | | | | | | | dfactorAlpha) | | → | | any |
|
sfactorRGB : exact-integer? |
dfactorRGB : exact-integer? |
sfactorAlpha : exact-integer? |
dfactorAlpha : exact-integer? |
(glMultiDrawArrays | | mode | | | | | | | first | | | | | | | count | | | | | | | primcount) | | → | | any |
|
mode : exact-integer? |
first : s32vector? |
count : s32vector? |
primcount : exact-integer? |
(glMultiDrawElements | | mode | | | | | | | count | | | | | | | type | | | | | | | indices | | | | | | | primcount) | | → | | any |
|
mode : exact-integer? |
count : s32vector? |
type : exact-integer? |
indices : (vectorof cpointer?) |
primcount : exact-integer? |
(glPointParameterf pname param) → any |
pname : exact-integer? |
param : flonum? |
(glPointParameterfv pname params) → any |
pname : exact-integer? |
params : f32vector? |
(glPointParameteri pname param) → any |
pname : exact-integer? |
param : exact-integer? |
(glPointParameteriv pname params) → any |
pname : exact-integer? |
params : s32vector? |
(glFogCoordf coord) → any |
coord : flonum? |
Deprecated in version 3.1.
(glFogCoordfv coord) → any |
coord : flonum? |
Deprecated in version 3.1.
(glFogCoordd coord) → any |
coord : real? |
Deprecated in version 3.1.
(glFogCoorddv coord) → any |
coord : real? |
Deprecated in version 3.1.
(glFogCoordPointer type stride pointer) → any |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glSecondaryColor3b red green blue) → any |
red : (integer-in -128 127) |
green : (integer-in -128 127) |
blue : (integer-in -128 127) |
Deprecated in version 3.1.
(glSecondaryColor3bv v) → any |
v : s8vector? |
Deprecated in version 3.1.
(glSecondaryColor3d red green blue) → any |
red : real? |
green : real? |
blue : real? |
Deprecated in version 3.1.
(glSecondaryColor3dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glSecondaryColor3f red green blue) → any |
red : flonum? |
green : flonum? |
blue : flonum? |
Deprecated in version 3.1.
(glSecondaryColor3fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glSecondaryColor3i red green blue) → any |
red : exact-integer? |
green : exact-integer? |
blue : exact-integer? |
Deprecated in version 3.1.
(glSecondaryColor3iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glSecondaryColor3s red green blue) → any |
red : (integer-in -32768 32767) |
green : (integer-in -32768 32767) |
blue : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glSecondaryColor3sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glSecondaryColor3ub red green blue) → any |
red : (integer-in 0 255) |
green : (integer-in 0 255) |
blue : (integer-in 0 255) |
Deprecated in version 3.1.
(glSecondaryColor3ubv v) → any |
v : (or/c string? bytes?) |
Deprecated in version 3.1.
(glSecondaryColor3ui red green blue) → any |
red : exact-nonnegative-integer? |
green : exact-nonnegative-integer? |
blue : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glSecondaryColor3uiv v) → any |
v : u32vector? |
Deprecated in version 3.1.
(glSecondaryColor3us red green blue) → any |
red : (integer-in 0 65535) |
green : (integer-in 0 65535) |
blue : (integer-in 0 65535) |
Deprecated in version 3.1.
(glSecondaryColor3usv v) → any |
v : u16vector? |
Deprecated in version 3.1.
(glSecondaryColorPointer | | size | | | | | | | type | | | | | | | stride | | | | | | | pointer) | | → | | any |
|
size : exact-integer? |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
Deprecated in version 3.1.
(glWindowPos2d x y) → any |
x : real? |
y : real? |
Deprecated in version 3.1.
(glWindowPos2dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glWindowPos2f x y) → any |
x : flonum? |
y : flonum? |
Deprecated in version 3.1.
(glWindowPos2fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glWindowPos2i x y) → any |
x : exact-integer? |
y : exact-integer? |
Deprecated in version 3.1.
(glWindowPos2iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glWindowPos2s x y) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glWindowPos2sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
(glWindowPos3d x y z) → any |
x : real? |
y : real? |
z : real? |
Deprecated in version 3.1.
(glWindowPos3dv v) → any |
v : f64vector? |
Deprecated in version 3.1.
(glWindowPos3f x y z) → any |
x : flonum? |
y : flonum? |
z : flonum? |
Deprecated in version 3.1.
(glWindowPos3fv v) → any |
v : f32vector? |
Deprecated in version 3.1.
(glWindowPos3i x y z) → any |
x : exact-integer? |
y : exact-integer? |
z : exact-integer? |
Deprecated in version 3.1.
(glWindowPos3iv v) → any |
v : s32vector? |
Deprecated in version 3.1.
(glWindowPos3s x y z) → any |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
z : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glWindowPos3sv v) → any |
v : s16vector? |
Deprecated in version 3.1.
6 OpenGL version 1.5
(glGenQueries n) → u32vector? |
n : exact-integer? |
(glDeleteQueries n ids) → any |
n : exact-integer? |
ids : u32vector? |
(glIsQuery id) → boolean? |
id : exact-nonnegative-integer? |
(glBeginQuery target id) → any |
target : exact-integer? |
id : exact-nonnegative-integer? |
(glEndQuery target) → any |
target : exact-integer? |
(glGetQueryiv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
(glGetQueryObjectiv id pname) → s32vector? |
id : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetQueryObjectuiv id pname) → u32vector? |
id : exact-nonnegative-integer? |
pname : exact-integer? |
(glBindBuffer target buffer) → any |
target : exact-integer? |
buffer : exact-nonnegative-integer? |
(glDeleteBuffers n buffers) → any |
n : exact-integer? |
buffers : u32vector? |
(glGenBuffers n) → u32vector? |
n : exact-integer? |
(glIsBuffer buffer) → boolean? |
buffer : exact-nonnegative-integer? |
(glBufferData target size data usage) → any |
target : exact-integer? |
size : s32vector? |
data : cpointer? |
usage : exact-integer? |
(glBufferSubData target offset size data) → any |
target : exact-integer? |
offset : exact-integer? |
size : s32vector? |
data : cpointer? |
(glGetBufferSubData target offset size data) → any |
target : exact-integer? |
offset : exact-integer? |
size : s32vector? |
data : cpointer? |
(glMapBuffer target access) → cpointer? |
target : exact-integer? |
access : exact-integer? |
(glUnmapBuffer target) → boolean? |
target : exact-integer? |
(glGetBufferParameteriv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
(glGetBufferPointerv target pname) → cpointer? |
target : exact-integer? |
pname : exact-integer? |
7 OpenGL version 2.0
(glBlendEquationSeparate modeRGB modeAlpha) → any |
modeRGB : exact-integer? |
modeAlpha : exact-integer? |
(glDrawBuffers n bufs) → any |
n : exact-integer? |
bufs : s32vector? |
(glStencilOpSeparate | | face | | | | | | | sfail | | | | | | | dpfail | | | | | | | dppass) | | → | | any |
|
face : exact-integer? |
sfail : exact-integer? |
dpfail : exact-integer? |
dppass : exact-integer? |
(glStencilFuncSeparate face func ref mask) → any |
face : exact-integer? |
func : exact-integer? |
ref : exact-integer? |
mask : exact-nonnegative-integer? |
(glStencilMaskSeparate face mask) → any |
face : exact-integer? |
mask : exact-nonnegative-integer? |
(glAttachShader program shader) → any |
program : exact-nonnegative-integer? |
shader : exact-nonnegative-integer? |
(glBindAttribLocation program index name) → any |
program : exact-nonnegative-integer? |
index : exact-nonnegative-integer? |
name : (or/c string? bytes?) |
(glCompileShader shader) → any |
shader : exact-nonnegative-integer? |
(glCreateProgram) → exact-nonnegative-integer? |
(glCreateShader type) → exact-nonnegative-integer? |
type : exact-integer? |
(glDeleteProgram program) → any |
program : exact-nonnegative-integer? |
(glDeleteShader shader) → any |
shader : exact-nonnegative-integer? |
(glDetachShader program shader) → any |
program : exact-nonnegative-integer? |
shader : exact-nonnegative-integer? |
(glDisableVertexAttribArray index) → any |
index : exact-nonnegative-integer? |
(glEnableVertexAttribArray index) → any |
index : exact-nonnegative-integer? |
(glGetActiveAttrib | | program | | | | | | | index | | | | | | | bufSize | | | | | | | name) | | → | | exact-integer? | exact-integer? | exact-integer? |
|
|
program : exact-nonnegative-integer? |
index : exact-nonnegative-integer? |
bufSize : exact-integer? |
name : bytes? |
(glGetActiveUniform | | program | | | | | | | index | | | | | | | bufSize | | | | | | | name) | | → | | exact-integer? | exact-integer? | exact-integer? |
|
|
program : exact-nonnegative-integer? |
index : exact-nonnegative-integer? |
bufSize : exact-integer? |
name : bytes? |
(glGetAttachedShaders program maxCount) |
| → | | exact-integer? | | u32vector? |
|
|
program : exact-nonnegative-integer? |
maxCount : exact-integer? |
(glGetAttribLocation program name) → exact-integer? |
program : exact-nonnegative-integer? |
name : (or/c string? bytes?) |
(glGetProgramiv program pname) → s32vector? |
program : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetProgramInfoLog program bufSize) | | → | | |
|
program : exact-nonnegative-integer? |
bufSize : exact-integer? |
(glGetShaderiv shader pname) → s32vector? |
shader : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetShaderInfoLog shader bufSize) | | → | | |
|
shader : exact-nonnegative-integer? |
bufSize : exact-integer? |
(glGetShaderSource shader bufSize) | | → | | |
|
shader : exact-nonnegative-integer? |
bufSize : exact-integer? |
(glGetUniformLocation program name) → exact-integer? |
program : exact-nonnegative-integer? |
name : (or/c string? bytes?) |
(glGetUniformfv program location params) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
params : f32vector? |
(glGetUniformiv program location params) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
params : s32vector? |
(glGetVertexAttribdv index pname) → f64vector? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetVertexAttribfv index pname) → f32vector? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetVertexAttribiv index pname) → s32vector? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetVertexAttribPointerv index pname) → cpointer? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glIsProgram program) → boolean? |
program : exact-nonnegative-integer? |
(glIsShader shader) → boolean? |
shader : exact-nonnegative-integer? |
(glLinkProgram program) → any |
program : exact-nonnegative-integer? |
(glShaderSource shader count string length) → any |
shader : exact-nonnegative-integer? |
count : exact-integer? |
string : (vectorof (or/c string? bytes?)) |
length : s32vector? |
(glUseProgram program) → any |
program : exact-nonnegative-integer? |
(glUniform1f location v0) → any |
location : exact-integer? |
v0 : flonum? |
(glUniform2f location v0 v1) → any |
location : exact-integer? |
v0 : flonum? |
v1 : flonum? |
(glUniform3f location v0 v1 v2) → any |
location : exact-integer? |
v0 : flonum? |
v1 : flonum? |
v2 : flonum? |
(glUniform4f location v0 v1 v2 v3) → any |
location : exact-integer? |
v0 : flonum? |
v1 : flonum? |
v2 : flonum? |
v3 : flonum? |
(glUniform1i location v0) → any |
location : exact-integer? |
v0 : exact-integer? |
(glUniform2i location v0 v1) → any |
location : exact-integer? |
v0 : exact-integer? |
v1 : exact-integer? |
(glUniform3i location v0 v1 v2) → any |
location : exact-integer? |
v0 : exact-integer? |
v1 : exact-integer? |
v2 : exact-integer? |
(glUniform4i location v0 v1 v2 v3) → any |
location : exact-integer? |
v0 : exact-integer? |
v1 : exact-integer? |
v2 : exact-integer? |
v3 : exact-integer? |
(glUniform1fv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f32vector? |
(glUniform2fv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f32vector? |
(glUniform3fv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f32vector? |
(glUniform4fv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : f32vector? |
(glUniform1iv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : s32vector? |
(glUniform2iv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : s32vector? |
(glUniform3iv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : s32vector? |
(glUniform4iv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : s32vector? |
(glUniformMatrix2fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glUniformMatrix3fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glUniformMatrix4fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glValidateProgram program) → any |
program : exact-nonnegative-integer? |
(glVertexAttrib1d index x) → any |
index : exact-nonnegative-integer? |
x : real? |
Deprecated in version 3.1.
(glVertexAttrib1dv index v) → any |
index : exact-nonnegative-integer? |
v : real? |
Deprecated in version 3.1.
(glVertexAttrib1f index x) → any |
index : exact-nonnegative-integer? |
x : flonum? |
Deprecated in version 3.1.
(glVertexAttrib1fv index v) → any |
index : exact-nonnegative-integer? |
v : flonum? |
Deprecated in version 3.1.
(glVertexAttrib1s index x) → any |
index : exact-nonnegative-integer? |
x : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertexAttrib1sv index v) → any |
index : exact-nonnegative-integer? |
v : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertexAttrib2d index x y) → any |
index : exact-nonnegative-integer? |
x : real? |
y : real? |
Deprecated in version 3.1.
(glVertexAttrib2dv index v) → any |
index : exact-nonnegative-integer? |
v : f64vector? |
Deprecated in version 3.1.
(glVertexAttrib2f index x y) → any |
index : exact-nonnegative-integer? |
x : flonum? |
y : flonum? |
Deprecated in version 3.1.
(glVertexAttrib2fv index v) → any |
index : exact-nonnegative-integer? |
v : f32vector? |
Deprecated in version 3.1.
(glVertexAttrib2s index x y) → any |
index : exact-nonnegative-integer? |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertexAttrib2sv index v) → any |
index : exact-nonnegative-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glVertexAttrib3d index x y z) → any |
index : exact-nonnegative-integer? |
x : real? |
y : real? |
z : real? |
Deprecated in version 3.1.
(glVertexAttrib3dv index v) → any |
index : exact-nonnegative-integer? |
v : f64vector? |
Deprecated in version 3.1.
(glVertexAttrib3f index x y z) → any |
index : exact-nonnegative-integer? |
x : flonum? |
y : flonum? |
z : flonum? |
Deprecated in version 3.1.
(glVertexAttrib3fv index v) → any |
index : exact-nonnegative-integer? |
v : f32vector? |
Deprecated in version 3.1.
(glVertexAttrib3s index x y z) → any |
index : exact-nonnegative-integer? |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
z : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertexAttrib3sv index v) → any |
index : exact-nonnegative-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glVertexAttrib4Nbv index v) → any |
index : exact-nonnegative-integer? |
v : s8vector? |
Deprecated in version 3.1.
(glVertexAttrib4Niv index v) → any |
index : exact-nonnegative-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glVertexAttrib4Nsv index v) → any |
index : exact-nonnegative-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glVertexAttrib4Nub index x y z w) → any |
index : exact-nonnegative-integer? |
x : (integer-in 0 255) |
y : (integer-in 0 255) |
z : (integer-in 0 255) |
w : (integer-in 0 255) |
Deprecated in version 3.1.
(glVertexAttrib4Nubv index v) → any |
index : exact-nonnegative-integer? |
v : (or/c string? bytes?) |
Deprecated in version 3.1.
(glVertexAttrib4Nuiv index v) → any |
index : exact-nonnegative-integer? |
v : u32vector? |
Deprecated in version 3.1.
(glVertexAttrib4Nusv index v) → any |
index : exact-nonnegative-integer? |
v : u16vector? |
Deprecated in version 3.1.
(glVertexAttrib4bv index v) → any |
index : exact-nonnegative-integer? |
v : s8vector? |
Deprecated in version 3.1.
(glVertexAttrib4d index x y z w) → any |
index : exact-nonnegative-integer? |
x : real? |
y : real? |
z : real? |
w : real? |
Deprecated in version 3.1.
(glVertexAttrib4dv index v) → any |
index : exact-nonnegative-integer? |
v : f64vector? |
Deprecated in version 3.1.
(glVertexAttrib4f index x y z w) → any |
index : exact-nonnegative-integer? |
x : flonum? |
y : flonum? |
z : flonum? |
w : flonum? |
Deprecated in version 3.1.
(glVertexAttrib4fv index v) → any |
index : exact-nonnegative-integer? |
v : f32vector? |
Deprecated in version 3.1.
(glVertexAttrib4iv index v) → any |
index : exact-nonnegative-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glVertexAttrib4s index x y z w) → any |
index : exact-nonnegative-integer? |
x : (integer-in -32768 32767) |
y : (integer-in -32768 32767) |
z : (integer-in -32768 32767) |
w : (integer-in -32768 32767) |
Deprecated in version 3.1.
(glVertexAttrib4sv index v) → any |
index : exact-nonnegative-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glVertexAttrib4ubv index v) → any |
index : exact-nonnegative-integer? |
v : (or/c string? bytes?) |
Deprecated in version 3.1.
(glVertexAttrib4uiv index v) → any |
index : exact-nonnegative-integer? |
v : u32vector? |
Deprecated in version 3.1.
(glVertexAttrib4usv index v) → any |
index : exact-nonnegative-integer? |
v : u16vector? |
Deprecated in version 3.1.
(glVertexAttribPointer | | index | | | | | | | size | | | | | | | type | | | | | | | normalized | | | | | | | stride | | | | | | | pointer) | | → | | any |
|
index : exact-nonnegative-integer? |
size : exact-integer? |
type : exact-integer? |
normalized : boolean? |
stride : exact-integer? |
pointer : cpointer? |
(glGetUniformIndices | | program | | | | | | | uniformCount | | | | | | | uniformNames | | | | | | | uniformIndices) | | → | | any |
|
program : exact-nonnegative-integer? |
uniformCount : exact-integer? |
uniformNames : (vectorof (or/c string? bytes?)) |
uniformIndices : u32vector? |
(glGetActiveUniformsiv | | program | | | | | | | uniformCount | | | | | | | uniformIndices | | | | | | | pname) | | → | | s32vector? |
|
program : exact-nonnegative-integer? |
uniformCount : exact-integer? |
uniformIndices : u32vector? |
pname : exact-integer? |
(glGetActiveUniformName | | program | | | | | | | uniformIndex | | | | | | | bufSize) | | → | | |
|
program : exact-nonnegative-integer? |
uniformIndex : exact-nonnegative-integer? |
bufSize : exact-integer? |
(glGetUniformBlockIndex | | program | | | | uniformBlockName) | |
|
→ exact-nonnegative-integer? |
program : exact-nonnegative-integer? |
uniformBlockName : (or/c string? bytes?) |
(glGetActiveUniformBlockiv | | program | | | | | | | uniformBlockIndex | | | | | | | pname) | | → | | s32vector? |
|
program : exact-nonnegative-integer? |
uniformBlockIndex : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetActiveUniformBlockName | | program | | | | uniformBlockIndex | | | | bufSize) | |
|
|
program : exact-nonnegative-integer? |
uniformBlockIndex : exact-nonnegative-integer? |
bufSize : exact-integer? |
(glUniformBlockBinding | | program | | | | | | | uniformBlockIndex | | | | | | | uniformBlockBinding) | | → | | any |
|
program : exact-nonnegative-integer? |
uniformBlockIndex : exact-nonnegative-integer? |
uniformBlockBinding : exact-nonnegative-integer? |
8 OpenGL version 2.1
(glUniformMatrix2x3fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glUniformMatrix3x2fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glUniformMatrix2x4fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glUniformMatrix4x2fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glUniformMatrix3x4fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glUniformMatrix4x3fv | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
9 OpenGL version 3.0
(glColorMaski index r g b a) → any |
index : exact-nonnegative-integer? |
r : boolean? |
g : boolean? |
b : boolean? |
a : boolean? |
(glGetBooleani_v target index data) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
data : cpointer? |
(glGetIntegeri_v target index data) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
data : s32vector? |
(glEnablei target index) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
(glDisablei target index) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
(glIsEnabledi target index) → boolean? |
target : exact-integer? |
index : exact-nonnegative-integer? |
(glBeginTransformFeedback primitiveMode) → any |
primitiveMode : exact-integer? |
(glEndTransformFeedback) → any |
(glBindBufferRange | | target | | | | | | | index | | | | | | | buffer | | | | | | | offset | | | | | | | size) | | → | | any |
|
target : exact-integer? |
index : exact-nonnegative-integer? |
buffer : exact-nonnegative-integer? |
offset : exact-integer? |
size : s32vector? |
(glBindBufferBase target index buffer) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
buffer : exact-nonnegative-integer? |
(glTransformFeedbackVaryings | | program | | | | | | | count | | | | | | | varyings | | | | | | | bufferMode) | | → | | any |
|
program : exact-nonnegative-integer? |
count : exact-integer? |
varyings : (vectorof (or/c string? bytes?)) |
bufferMode : exact-integer? |
(glGetTransformFeedbackVarying | | program | | | | | | | index | | | | | | | bufSize | | | | | | | name) | | → | | exact-integer? | exact-integer? | exact-integer? |
|
|
program : exact-nonnegative-integer? |
index : exact-nonnegative-integer? |
bufSize : exact-integer? |
name : bytes? |
(glClampColor target clamp) → any |
target : exact-integer? |
clamp : exact-integer? |
(glBeginConditionalRender id mode) → any |
id : exact-nonnegative-integer? |
mode : exact-integer? |
(glEndConditionalRender) → any |
(glVertexAttribIPointer | | index | | | | | | | size | | | | | | | type | | | | | | | stride | | | | | | | pointer) | | → | | any |
|
index : exact-nonnegative-integer? |
size : exact-integer? |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
(glGetVertexAttribIiv index pname) → exact-integer? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glGetVertexAttribIuiv index pname) → exact-nonnegative-integer? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glVertexAttribI1i index x) → any |
index : exact-nonnegative-integer? |
x : exact-integer? |
Deprecated in version 3.1.
(glVertexAttribI2i index x y) → any |
index : exact-nonnegative-integer? |
x : exact-integer? |
y : exact-integer? |
Deprecated in version 3.1.
(glVertexAttribI3i index x y z) → any |
index : exact-nonnegative-integer? |
x : exact-integer? |
y : exact-integer? |
z : exact-integer? |
Deprecated in version 3.1.
(glVertexAttribI4i index x y z w) → any |
index : exact-nonnegative-integer? |
x : exact-integer? |
y : exact-integer? |
z : exact-integer? |
w : exact-integer? |
Deprecated in version 3.1.
(glVertexAttribI1ui index x) → any |
index : exact-nonnegative-integer? |
x : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glVertexAttribI2ui index x y) → any |
index : exact-nonnegative-integer? |
x : exact-nonnegative-integer? |
y : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glVertexAttribI3ui index x y z) → any |
index : exact-nonnegative-integer? |
x : exact-nonnegative-integer? |
y : exact-nonnegative-integer? |
z : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glVertexAttribI4ui index x y z w) → any |
index : exact-nonnegative-integer? |
x : exact-nonnegative-integer? |
y : exact-nonnegative-integer? |
z : exact-nonnegative-integer? |
w : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glVertexAttribI1iv index v) → any |
index : exact-nonnegative-integer? |
v : exact-integer? |
Deprecated in version 3.1.
(glVertexAttribI2iv index v) → any |
index : exact-nonnegative-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glVertexAttribI3iv index v) → any |
index : exact-nonnegative-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glVertexAttribI4iv index v) → any |
index : exact-nonnegative-integer? |
v : s32vector? |
Deprecated in version 3.1.
(glVertexAttribI1uiv index v) → any |
index : exact-nonnegative-integer? |
v : exact-nonnegative-integer? |
Deprecated in version 3.1.
(glVertexAttribI2uiv index v) → any |
index : exact-nonnegative-integer? |
v : u32vector? |
Deprecated in version 3.1.
(glVertexAttribI3uiv index v) → any |
index : exact-nonnegative-integer? |
v : u32vector? |
Deprecated in version 3.1.
(glVertexAttribI4uiv index v) → any |
index : exact-nonnegative-integer? |
v : u32vector? |
Deprecated in version 3.1.
(glVertexAttribI4bv index v) → any |
index : exact-nonnegative-integer? |
v : s8vector? |
Deprecated in version 3.1.
(glVertexAttribI4sv index v) → any |
index : exact-nonnegative-integer? |
v : s16vector? |
Deprecated in version 3.1.
(glVertexAttribI4ubv index v) → any |
index : exact-nonnegative-integer? |
v : (or/c string? bytes?) |
Deprecated in version 3.1.
(glVertexAttribI4usv index v) → any |
index : exact-nonnegative-integer? |
v : u16vector? |
Deprecated in version 3.1.
(glGetUniformuiv program location params) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
params : u32vector? |
(glBindFragDataLocation program color name) → any |
program : exact-nonnegative-integer? |
color : exact-nonnegative-integer? |
name : (or/c string? bytes?) |
(glGetFragDataLocation program name) → exact-integer? |
program : exact-nonnegative-integer? |
name : (or/c string? bytes?) |
(glUniform1ui location v0) → any |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
(glUniform2ui location v0 v1) → any |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
v1 : exact-nonnegative-integer? |
(glUniform3ui location v0 v1 v2) → any |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
v1 : exact-nonnegative-integer? |
v2 : exact-nonnegative-integer? |
(glUniform4ui location v0 v1 v2 v3) → any |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
v1 : exact-nonnegative-integer? |
v2 : exact-nonnegative-integer? |
v3 : exact-nonnegative-integer? |
(glUniform1uiv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : u32vector? |
(glUniform2uiv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : u32vector? |
(glUniform3uiv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : u32vector? |
(glUniform4uiv location count value) → any |
location : exact-integer? |
count : exact-integer? |
value : u32vector? |
(glTexParameterIiv target pname params) → any |
target : exact-integer? |
pname : exact-integer? |
params : s32vector? |
(glTexParameterIuiv target pname params) → any |
target : exact-integer? |
pname : exact-integer? |
params : u32vector? |
(glGetTexParameterIiv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
(glGetTexParameterIuiv target pname) → u32vector? |
target : exact-integer? |
pname : exact-integer? |
(glClearBufferiv buffer drawbuffer value) → any |
buffer : exact-integer? |
drawbuffer : exact-integer? |
value : s32vector? |
(glClearBufferuiv buffer drawbuffer value) → any |
buffer : exact-integer? |
drawbuffer : exact-integer? |
value : u32vector? |
(glClearBufferfv buffer drawbuffer value) → any |
buffer : exact-integer? |
drawbuffer : exact-integer? |
value : f32vector? |
(glClearBufferfi | | buffer | | | | | | | drawbuffer | | | | | | | depth | | | | | | | stencil) | | → | | any |
|
buffer : exact-integer? |
drawbuffer : exact-integer? |
depth : flonum? |
stencil : exact-integer? |
(glGetStringi name index) → (or/c string? bytes?) |
name : exact-integer? |
index : exact-nonnegative-integer? |
(glIsRenderbuffer renderbuffer) → boolean? |
renderbuffer : exact-nonnegative-integer? |
(glBindRenderbuffer target renderbuffer) → any |
target : exact-integer? |
renderbuffer : exact-nonnegative-integer? |
(glDeleteRenderbuffers n renderbuffers) → any |
n : exact-integer? |
renderbuffers : u32vector? |
(glGenRenderbuffers n) → u32vector? |
n : exact-integer? |
(glRenderbufferStorage | | target | | | | | | | internalformat | | | | | | | width | | | | | | | height) | | → | | any |
|
target : exact-integer? |
internalformat : exact-integer? |
width : exact-integer? |
height : exact-integer? |
(glGetRenderbufferParameteriv target pname) → s32vector? |
target : exact-integer? |
pname : exact-integer? |
(glIsFramebuffer framebuffer) → boolean? |
framebuffer : exact-nonnegative-integer? |
(glBindFramebuffer target framebuffer) → any |
target : exact-integer? |
framebuffer : exact-nonnegative-integer? |
(glDeleteFramebuffers n framebuffers) → any |
n : exact-integer? |
framebuffers : u32vector? |
(glGenFramebuffers n) → u32vector? |
n : exact-integer? |
(glCheckFramebufferStatus target) → exact-integer? |
target : exact-integer? |
(glFramebufferRenderbuffer | | target | | | | | | | attachment | | | | | | | renderbuffertarget | | | | | | | renderbuffer) | | → | | any |
|
target : exact-integer? |
attachment : exact-integer? |
renderbuffertarget : exact-integer? |
renderbuffer : exact-nonnegative-integer? |
(glGetFramebufferAttachmentParameteriv | | target | | | | | | | attachment | | | | | | | pname) | | → | | s32vector? |
|
target : exact-integer? |
attachment : exact-integer? |
pname : exact-integer? |
(glGenerateMipmap target) → any |
target : exact-integer? |
(glBlitFramebuffer | | srcX0 | | | | | | | srcY0 | | | | | | | srcX1 | | | | | | | srcY1 | | | | | | | dstX0 | | | | | | | dstY0 | | | | | | | dstX1 | | | | | | | dstY1 | | | | | | | mask | | | | | | | filter) | | → | | any |
|
srcX0 : exact-integer? |
srcY0 : exact-integer? |
srcX1 : exact-integer? |
srcY1 : exact-integer? |
dstX0 : exact-integer? |
dstY0 : exact-integer? |
dstX1 : exact-integer? |
dstY1 : exact-integer? |
mask : exact-nonnegative-integer? |
filter : exact-integer? |
(glRenderbufferStorageMultisample | | target | | | | | | | samples | | | | | | | internalformat | | | | | | | width | | | | | | | height) | | → | | any |
|
target : exact-integer? |
samples : exact-integer? |
internalformat : exact-integer? |
width : exact-integer? |
height : exact-integer? |
(glFramebufferTextureLayer | | target | | | | | | | attachment | | | | | | | texture | | | | | | | level | | | | | | | layer) | | → | | any |
|
target : exact-integer? |
attachment : exact-integer? |
texture : exact-nonnegative-integer? |
level : exact-integer? |
layer : exact-integer? |
(glMapBufferRange | | target | | | | | | | offset | | | | | | | length | | | | | | | access) | | → | | cpointer? |
|
target : exact-integer? |
offset : exact-integer? |
length : s32vector? |
access : exact-nonnegative-integer? |
(glFlushMappedBufferRange | | target | | | | | | | offset | | | | | | | length) | | → | | any |
|
target : exact-integer? |
offset : exact-integer? |
length : s32vector? |
(glBindVertexArray array) → any |
array : exact-nonnegative-integer? |
(glDeleteVertexArrays n arrays) → any |
n : exact-integer? |
arrays : u32vector? |
(glGenVertexArrays n) → u32vector? |
n : exact-integer? |
(glIsVertexArray array) → boolean? |
array : exact-nonnegative-integer? |
(glCopyBufferSubData | | readTarget | | | | | | | writeTarget | | | | | | | readOffset | | | | | | | writeOffset | | | | | | | size) | | → | | any |
|
readTarget : exact-integer? |
writeTarget : exact-integer? |
readOffset : exact-integer? |
writeOffset : exact-integer? |
size : s32vector? |
(glProgramParameteri program pname value) → any |
program : exact-nonnegative-integer? |
pname : exact-integer? |
value : exact-integer? |
10 OpenGL version 3.1
(glDrawArraysInstanced | | mode | | | | | | | first | | | | | | | count | | | | | | | primcount) | | → | | any |
|
mode : exact-integer? |
first : exact-integer? |
count : exact-integer? |
primcount : exact-integer? |
(glDrawElementsInstanced | | mode | | | | | | | count | | | | | | | type | | | | | | | indices | | | | | | | primcount) | | → | | any |
|
mode : exact-integer? |
count : exact-integer? |
type : exact-integer? |
indices : cpointer? |
primcount : exact-integer? |
(glTexBuffer target internalformat buffer) → any |
target : exact-integer? |
internalformat : exact-integer? |
buffer : exact-nonnegative-integer? |
(glPrimitiveRestartIndex index) → any |
index : exact-nonnegative-integer? |
11 OpenGL version 3.2
(glGetInteger64i_v target index data) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
data : s64vector? |
(glGetBufferParameteri64v target pname) → s64vector? |
target : exact-integer? |
pname : exact-integer? |
12 OpenGL version 4.1
(glReleaseShaderCompiler) → any |
(glShaderBinary | | count | | | | | | | shaders | | | | | | | binaryformat | | | | | | | binary | | | | | | | length) | | → | | any |
|
count : exact-integer? |
shaders : u32vector? |
binaryformat : exact-integer? |
binary : cpointer? |
length : exact-integer? |
(glGetShaderPrecisionFormat | | shadertype | | | | precisiontype) | |
|
|
shadertype : exact-integer? |
precisiontype : exact-integer? |
(glDepthRangef n f) → any |
n : flonum? |
f : flonum? |
(glClearDepthf d) → any |
d : flonum? |
(glGetProgramBinary program bufSize binary) |
| → | | exact-integer? | | exact-integer? |
|
|
program : exact-nonnegative-integer? |
bufSize : exact-integer? |
binary : cpointer? |
(glProgramBinary | | program | | | | | | | binaryFormat | | | | | | | binary | | | | | | | length) | | → | | any |
|
program : exact-nonnegative-integer? |
binaryFormat : exact-integer? |
binary : cpointer? |
length : exact-integer? |
(glUseProgramStages pipeline stages program) → any |
pipeline : exact-nonnegative-integer? |
stages : exact-nonnegative-integer? |
program : exact-nonnegative-integer? |
(glActiveShaderProgram pipeline program) → any |
pipeline : exact-nonnegative-integer? |
program : exact-nonnegative-integer? |
(glCreateShaderProgramv type count strings) |
→ exact-nonnegative-integer? |
type : exact-integer? |
count : exact-integer? |
strings : (vectorof (or/c string? bytes?)) |
(glBindProgramPipeline pipeline) → any |
pipeline : exact-nonnegative-integer? |
(glDeleteProgramPipelines n pipelines) → any |
n : exact-integer? |
pipelines : u32vector? |
(glGenProgramPipelines n) → u32vector? |
n : exact-integer? |
(glIsProgramPipeline pipeline) → boolean? |
pipeline : exact-nonnegative-integer? |
(glGetProgramPipelineiv pipeline pname) → s32vector? |
pipeline : exact-nonnegative-integer? |
pname : exact-integer? |
(glProgramUniform1i program location v0) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-integer? |
(glProgramUniform1iv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : exact-integer? |
(glProgramUniform1f program location v0) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : flonum? |
(glProgramUniform1fv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : flonum? |
(glProgramUniform1d program location v0) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : real? |
(glProgramUniform1dv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : real? |
(glProgramUniform1ui program location v0) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
(glProgramUniform1uiv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : exact-nonnegative-integer? |
(glProgramUniform2i program location v0 v1) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-integer? |
v1 : exact-integer? |
(glProgramUniform2iv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : s32vector? |
(glProgramUniform2f program location v0 v1) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : flonum? |
v1 : flonum? |
(glProgramUniform2fv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : f32vector? |
(glProgramUniform2d program location v0 v1) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : real? |
v1 : real? |
(glProgramUniform2dv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : f64vector? |
(glProgramUniform2ui program location v0 v1) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
v1 : exact-nonnegative-integer? |
(glProgramUniform2uiv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : u32vector? |
(glProgramUniform3i program location v0 v1 v2) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-integer? |
v1 : exact-integer? |
v2 : exact-integer? |
(glProgramUniform3iv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : s32vector? |
(glProgramUniform3f program location v0 v1 v2) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : flonum? |
v1 : flonum? |
v2 : flonum? |
(glProgramUniform3fv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : f32vector? |
(glProgramUniform3d program location v0 v1 v2) → any |
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : real? |
v1 : real? |
v2 : real? |
(glProgramUniform3dv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : f64vector? |
(glProgramUniform3ui | | program | | | | | | | location | | | | | | | v0 | | | | | | | v1 | | | | | | | v2) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
v1 : exact-nonnegative-integer? |
v2 : exact-nonnegative-integer? |
(glProgramUniform3uiv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : u32vector? |
(glProgramUniform4i | | program | | | | | | | location | | | | | | | v0 | | | | | | | v1 | | | | | | | v2 | | | | | | | v3) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-integer? |
v1 : exact-integer? |
v2 : exact-integer? |
v3 : exact-integer? |
(glProgramUniform4iv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : s32vector? |
(glProgramUniform4f | | program | | | | | | | location | | | | | | | v0 | | | | | | | v1 | | | | | | | v2 | | | | | | | v3) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : flonum? |
v1 : flonum? |
v2 : flonum? |
v3 : flonum? |
(glProgramUniform4fv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : f32vector? |
(glProgramUniform4d | | program | | | | | | | location | | | | | | | v0 | | | | | | | v1 | | | | | | | v2 | | | | | | | v3) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : real? |
v1 : real? |
v2 : real? |
v3 : real? |
(glProgramUniform4dv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : f64vector? |
(glProgramUniform4ui | | program | | | | | | | location | | | | | | | v0 | | | | | | | v1 | | | | | | | v2 | | | | | | | v3) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
v0 : exact-nonnegative-integer? |
v1 : exact-nonnegative-integer? |
v2 : exact-nonnegative-integer? |
v3 : exact-nonnegative-integer? |
(glProgramUniform4uiv | | program | | | | | | | location | | | | | | | count | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
value : u32vector? |
(glProgramUniformMatrix2fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix3fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix4fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix2dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix3dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix4dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix2x3fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix3x2fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix2x4fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix4x2fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix3x4fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix4x3fv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f32vector? |
(glProgramUniformMatrix2x3dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix3x2dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix2x4dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix4x2dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix3x4dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glProgramUniformMatrix4x3dv | | program | | | | | | | location | | | | | | | count | | | | | | | transpose | | | | | | | value) | | → | | any |
|
program : exact-nonnegative-integer? |
location : exact-integer? |
count : exact-integer? |
transpose : boolean? |
value : f64vector? |
(glValidateProgramPipeline pipeline) → any |
pipeline : exact-nonnegative-integer? |
(glGetProgramPipelineInfoLog | | pipeline | | | | | | | bufSize | | | | | | | infoLog) | | → | | exact-integer? |
|
pipeline : exact-nonnegative-integer? |
bufSize : exact-integer? |
infoLog : bytes? |
(glVertexAttribL1d index x) → any |
index : exact-nonnegative-integer? |
x : real? |
(glVertexAttribL2d index x y) → any |
index : exact-nonnegative-integer? |
x : real? |
y : real? |
(glVertexAttribL3d index x y z) → any |
index : exact-nonnegative-integer? |
x : real? |
y : real? |
z : real? |
(glVertexAttribL4d index x y z w) → any |
index : exact-nonnegative-integer? |
x : real? |
y : real? |
z : real? |
w : real? |
(glVertexAttribL1dv index v) → any |
index : exact-nonnegative-integer? |
v : real? |
(glVertexAttribL2dv index v) → any |
index : exact-nonnegative-integer? |
v : f64vector? |
(glVertexAttribL3dv index v) → any |
index : exact-nonnegative-integer? |
v : f64vector? |
(glVertexAttribL4dv index v) → any |
index : exact-nonnegative-integer? |
v : f64vector? |
(glVertexAttribLPointer | | index | | | | | | | size | | | | | | | type | | | | | | | stride | | | | | | | pointer) | | → | | any |
|
index : exact-nonnegative-integer? |
size : exact-integer? |
type : exact-integer? |
stride : exact-integer? |
pointer : cpointer? |
(glGetVertexAttribLdv index pname) → f64vector? |
index : exact-nonnegative-integer? |
pname : exact-integer? |
(glViewportArrayv first count v) → any |
first : exact-nonnegative-integer? |
count : exact-integer? |
v : f32vector? |
(glViewportIndexedf index x y w h) → any |
index : exact-nonnegative-integer? |
x : flonum? |
y : flonum? |
w : flonum? |
h : flonum? |
(glViewportIndexedfv index v) → any |
index : exact-nonnegative-integer? |
v : f32vector? |
(glScissorArrayv first count v) → any |
first : exact-nonnegative-integer? |
count : exact-integer? |
v : s32vector? |
(glScissorIndexed | | index | | | | | | | left | | | | | | | bottom | | | | | | | width | | | | | | | height) | | → | | any |
|
index : exact-nonnegative-integer? |
left : exact-integer? |
bottom : exact-integer? |
width : exact-integer? |
height : exact-integer? |
(glScissorIndexedv index v) → any |
index : exact-nonnegative-integer? |
v : s32vector? |
(glDepthRangeArrayv first count v) → any |
first : exact-nonnegative-integer? |
count : exact-integer? |
v : f64vector? |
(glDepthRangeIndexed index n f) → any |
index : exact-nonnegative-integer? |
n : real? |
f : real? |
(glGetFloati_v target index data) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
data : f32vector? |
(glGetDoublei_v target index data) → any |
target : exact-integer? |
index : exact-nonnegative-integer? |
data : f64vector? |
13 Utility functions for homogenous vectors
These functions are not part of the OpenGL API but are provided to make
working with glVertexPointer and similar procedures easier.
(gl-vector? v) → boolean? |
v : any/c |
Returns #t if v belongs to one of
the homogenous vector types which can be used with OpenGL, #f otherwise.
These vector types are:
u8vector, s8vector, u16vector, s16vector,
u32vector, s32vector, f32vector and f64vector.
(gl-vector->type v) → exact-integer? |
v : gl-vector? |
Determine the OpenGL type of v.
This returns a numerical value such as GL_SHORT, GL_FLOAT, etc., which
can be passed into glVertexPointer and similar procedures.
(gl-vector->cpointer v) → cpointer? |
v : gl-vector? |
Get a C pointer to v.
(gl-vector->length v) → exact-nonnegative-integer? |
v : gl-vector? |
Get the length of v.
(gl-vector->type/cpointer v) | | → | | |
|
v : gl-vector? |
Get the OpenGL type and C pointer of v.
This is slightly more efficient than getting them each individually.
(gl-vector->type/cpointer/length v) |
| → | | exact-integer? | cpointer? | exact-nonnegative-integer? |
|
|
v : gl-vector? |
Get the OpenGL type, C pointer and length of v.
This is slightly more efficient than getting them each individually.
14 Additional utility procedures
These procedures can be used to check the OpenGL version and supported extensions.
Note that these, too, should only be called when an OpenGL context is active!
(gl-version) → (listof exact-integer?) |
Returns the OpenGL version, as a list of exact integers.
For example, version 3.1.2 would return a list (3 1 2).
(gl-extensions) → set-eq? |
Returns the supported OpenGL extensions, as a set of symbols.
(gl-has-extension? extension) → boolean? |
extension : symbol? |
Checks whether the given extension is supported.
(gl-version-at-least? version) → boolean? |
version : (listof exact-integer?) |
Checks if the OpenGL version is at least the given version.