Next: KGL DC-specific APIs
Up: Cryptic Allusion KallistiGL /
Previous: Overview
  Contents
This is not an OpenGLŪ tutorial or complete reference. Those are available
online or at a bookstore. This section describes the KGL API currently
implemented, the GL_XXX enums supported, and any known non-conformance
issues, or DC features for each API function. The API includes non-working
stubs for some functions to ease porting. These stubs will be clearly
noted. If you think KGL is doing something weird or wrong please refer
to this document to determine if the functions in question are supported.
Some of the glKos functions were created to support the Direct Render
method of sending polygons to the hardware. Those functions are marker
with ``(DR).''
Subsections
- KGL DC-specific APIs
- Per Fragment Operations
- Display lists
- Drawing functions
- void glBegin(GLenum mode)
- void glColor3f(GLfloat red, GLfloat green, GLfloat blue)
- void glColor3fv(GLfloat *v)
- void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat
alpha)
- void glColor4fv(GLfloat *v)
- void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte
alpha)
- void glEnd(void)
- void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
- void glPointSize(GLfloat size)
- void glTexCoord2f(GLfloat s, GLfloat t)
- void glTexCoord2fv(GLfloat *v)
- void glVertex3f(GLfloat x, GLfloat y, GLfloat z)
- void glVertex3fv(GLfloat *v)
- Fog
- Lighting
- Miscellaneous
- Query functions
- Texture functions
- void glBindTexture(GLenum target, GLuint texture)
- void glDeleteTextures(GLsizei n, const GLuint *textures)
- void glGenTextures(GLsizei n, GLuint *textures)
- void glKosTex2D(GLint internal_fmt, GLsizei width, GLsizei height,
pvr_ptr_t txr_address, )
- void glTexEnvi(GLenum target, GLenum pname, GLint param)
- void glTexImage2D(GLenum target, GLint level, GLint internalFormat,
GLsizei width, GLsizei height, GLint border, GLenum format, GLenum
type, const GLvoid *pixels)
- void glTexParameteri(GLenum target, GLenum pname, GLint param)
- Transformation functions
- void glDepthRange(GLclampf n, GLclampf f)
- void glFrustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat
top, GLfloat znear, GLfloat zfar)
- void glLoadIdentity(void)
- void glLoadMatrixf(const GLfloat *m)
- void glLoadTransposeMatrixf(const GLfloat *m)
- void glMatrixMode(GLenum mode)
- void glMultMatrixf(const GLfloat *m)
- void glMultTransposeMatrixf(const GLfloat *m)
- void glOrtho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat
top, GLfloat znear, GLfloat zfar)
- void glPopMatrix(void)
- void glPushMatrix(void)
- void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
- void glScalef(GLfloat x, GLfloat y, GLfloat z)
- void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
- void glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
- void gluLookAt(GLfloat eyex, GLfloat eyey, GLfloat eyez, GLfloat
centerx, GLfloat centery, GLfloat centerz, GLfloat upx, GLfloat upy,
GLfloat upz)
- void gluPerspective(GLfloat fovy, GLfloat aspect, GLfloat zNear,
GLfloat zFar)
Dan Potter
2002-07-29