tkopengl
tkopengl
glActiveTexture(int texture) (tkopengl)
- Select active texture unit
glAlphaFunc(int func, float ref) (tkopengl)
- Specify the alpha test function
glArrayElement(int i) (tkopengl)
- Render a vertex using the specified vertex array element
glAttachShader(int program, shader) (tkopengl)
- Attaches a shader object to a program object
glBegin(int mode) (tkopengl)
- Delimit the vertices of a primitive or a group of like primitives
glBindAttribLocation(int program, index, String name) (tkopengl)
- Associates a generic vertex attribute index with a named attribute variable
glBindBuffer(int target, id) (tkopengl)
- Bind a named buffer to a target
glBindFragDataLocation(int program, colorNumber, String name) (tkopengl)
- Bind a user-defined varying out variable to a fragment shader color number
glBindFragDataLocationIndexed(int program, colorNumber, index, String name) (tkopengl)
- Bind a user-defined varying out variable to a fragment shader color number and index
glBindFramebuffer(int target, framebuffer) (tkopengl)
- Bind a framebuffer to a framebuffer target
glBindRenderbuffer(int target, renderbuffer) (tkopengl)
- Bind a renderbuffer to a renderbuffer target
glBindSampler(int unit, sampler) (tkopengl)
- Bind a named sampler to a texturing target
glBindTexture(int target, texture) (tkopengl)
- Bind a named texture to a texturing target
glBlendColor(float r, g, b, a) (tkopengl)
- Set the blend color
glBlendEquation(int mode) (tkopengl)
- Specify the equation used for both the RGB blend equation and the Alpha blend equation
glBlendFunc(int sfactor, dfactor) (tkopengl)
- Specify pixel arithmetic
glBlendFuncSeparate(int srcRGB, dstRGB, srcAlpha, dstAlpha) (tkopengl)
- Specify pixel arithmetic for RGB and alpha components separately
glCallList(int list) (tkopengl)
- Execute a display list
glCheckFramebufferStatus(int target) : int (tkopengl)
- Check the completeness status of a framebuffer
glClear(int mask) (tkopengl)
- Clear buffers to preset values
glClearColor(float r, g, b, a) (tkopengl)
- Specify clear values for the color buffers
glClearDepth(float depth) (tkopengl)
- Specify the clear value for the depth buffer
glClearStencil(int s) (tkopengl)
- Specify the clear value for the stencil buffer
glClientActiveTexture(int texture) (tkopengl)
- select active texture unit
glColor3f(float r, g, b) (tkopengl)
- Set the current color
glColor3ub(byte r, g, b) (tkopengl)
- Set the current color
glColor4f(float r, g, b, a) (tkopengl)
- Set the current color
glColor4ub(byte r, g, b, a) (tkopengl)
- Set the current color
glColorMask(boolean r, g, b, a) (tkopengl)
- Enable and disable writing of frame buffer color components
glColorMaterial(int face, mode) (tkopengl)
- Specify which material parameters track the current color
glCompileShader(int shader) (tkopengl)
- Compiles a shader object
glCopyPixels(int x, y, w, h, type) (tkopengl)
- Copy pixels in the frame buffer
glCopyTexImage2D(int target, level, internalFormat, x, y, width, height, border) (tkopengl)
- Copy pixels into a 2D texture image
glCopyTexSubImage2D(int target, level, xoffset, yoffset, x, y, width, height) (tkopengl)
- Copy a two-dimensional texture subimage
glCopyTexSubImage3D(int target, level, xoffset, yoffset, zoffset, x, y, width, height) (tkopengl)
- Copy a three-dimensional texture subimage
glCreateProgram() : int (tkopengl)
- Creates a program object
glCreateShader(int shaderType) : int (tkopengl)
- Creates a shader object
glCullFace(int mode) (tkopengl)
- Specify whether front- or back-facing facets can be culled
glDeleteProgram(int program) (tkopengl)
- Deletes a program object
glDeleteShader(int shader) (tkopengl)
- Deletes a shader object
glDepthFunc(int func) (tkopengl)
- Specify the value used for depth buffer comparisons
glDepthMask(boolean mask) (tkopengl)
- Enable or disable writing into the depth buffer
glDetachShader(int program, shader) (tkopengl)
- Detaches a shader object from a program object to which it is attached
glDisable(int cap) (tkopengl)
- Disable server-side GL capabilities
glDisableClientState(int cap) (tkopengl)
- Disable client-side capability
glDisableVertexAttribArray(int index) (tkopengl)
- Disable a generic vertex attribute array
glDrawArrays(int mode, first, count) (tkopengl)
- Render primitives from array data
glDrawBuffer(int mode) (tkopengl)
- Specify which color buffers are to be drawn into
glDrawBuffers(int n, IntArray a) (tkopengl)
- Specifies a list of color buffers to be drawn into
glDrawElements(int mode, IntArray indices) (tkopengl)
- Render primitives from array data
glEdgeFlag(boolean flag) (tkopengl)
- Flag edges as either boundary or nonboundary
glEnable(int cap) (tkopengl)
- Enable server-side GL capabilities
glEnableClientState(int cap) (tkopengl)
- Enable client-side capability
glEnableVertexAttribArray(int index) (tkopengl)
- Enable a generic vertex attribute array
glEnd() (tkopengl)
- Delimit the vertices of a primitive or a group of like primitives
glFinish() (tkopengl)
- Block until all GL execution is complete
glFlush() (tkopengl)
- Force execution of GL commands in finite time
glFramebufferRenderbuffer(int target, attachment, renderbuffertarget, renderbuffer) (tkopengl)
- Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
glFramebufferTexture1D(int target, attachment, textarget, texture, level) (tkopengl)
- Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
glFramebufferTexture2D(int target, attachment, textarget, texture, level) (tkopengl)
- Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
glFramebufferTexture3D(int target, attachment, textarget, texture, level, zoffset) (tkopengl)
- Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
glFrontFace(int mode) (tkopengl)
- Define front- and back-facing polygons
glFrustum(float left, right, bottom, top, znear, zfar) (tkopengl)
- Multiply the current matrix by a perspective matrix
glGenerateMipmap(int target) (tkopengl)
- Generate a complete set of mipmaps for a texture object
glGetAttribLocation(int program, String name) (tkopengl)
- Returns the location of an attribute variable
glGetError() : int (tkopengl)
- Return last GL error code and reset internal error state to GL_NO_ERROR.
glGetFloatv(int name, FloatArray ret) (tkopengl)
- Use this for queries that return a float vector.
glGetFragDataIndex(int program, String name) : int (tkopengl)
- Query the bindings of color indices to user-defined varying out variables
glGetFragDataLocation(int program, String name) : int (tkopengl)
- Query the bindings of color numbers to user-defined varying out variables
glGetIntegerv(int name, IntArray ret) (tkopengl)
- Use this for queries that return an integer vector.
glGetProgramInfoLog(int program, String retLog) (tkopengl)
- Returns the information log for a program object
glGetShaderInfoLog(int shader, String retLog) (tkopengl)
- Returns the information log for a shader object
glGetString(int name) : String (tkopengl)
- Return a string describing the current GL connection
glGetUniformLocation(int program, String name) : int (tkopengl)
- Returns the location of a uniform variable
glHint(int target, mode) (tkopengl)
- Specify implementation-specific hints
glIsBuffer(int id) : boolean (tkopengl)
- Query whether the given name id is bound to a buffer object
glIsEnabled(int cap) : int (tkopengl)
- Test whether a capability is enabled
glIsFramebuffer(int framebuffer) : boolean (tkopengl)
- Determine if a name corresponds to a framebuffer object
glIsRenderbuffer(int renderbuffer) : boolean (tkopengl)
- Determine if a name corresponds to a renderbuffer object
glLightModeli(int pname, param) (tkopengl)
- Configure light model
glLineStipple(int factor, short pattern) (tkopengl)
- Specify the line stipple pattern
glLineWidth(float width) (tkopengl)
- Specify the width of rasterized lines
glLinkProgram(int program) (tkopengl)
- Links a program object
glLoadIdentity() (tkopengl)
- Replace the current matrix with the identity matrix
glLoadMatrixf(Object array) (tkopengl)
- Replace the current matrix with the specified matrix
glLogicOp(int opcode) (tkopengl)
- Specify a logical pixel operation for color index rendering
glMatrixMode(int mode) (tkopengl)
- Specify which matrix is the current matrix
glMultiTexCoord1f(int texture, float s) (tkopengl)
- Set the current texture coordinate
glMultiTexCoord2f(int texture, float s, t) (tkopengl)
- Set the current texture coordinates
glMultiTexCoord3f(int texture, float s, t, r) (tkopengl)
- Set the current texture coordinates
glNormal3f(float nx, ny, nz) (tkopengl)
- Set the current normal vector
glOrtho(float left, right, bottom, top, znear, zfar) (tkopengl)
- Multiply the current matrix with an orthographic matrix
glPixelZoom(float xfactor, yfactor) (tkopengl)
- Specify the pixel zoom factors
glPointParameterf(int pname, float param) (tkopengl)
- Specify point parameter
glPointSize(float size) (tkopengl)
- Specify the diameter of rasterized points
glPolygonMode(int face, mode) (tkopengl)
- Select a polygon rasterization mode
glPolygonOffset(float factor, units) (tkopengl)
- Set the scale and units used to calculate depth values
glPopAttrib() (tkopengl)
- Pop the server attribute stack
glPopClientAttrib() (tkopengl)
- Pop the client attribute stack
glPopMatrix() (tkopengl)
- Pop the current matrix stack
glPushAttrib(int mask) (tkopengl)
- Push the server attribute stack
glPushClientAttrib(int mask) (tkopengl)
- Push the client attribute stack
glPushMatrix() (tkopengl)
- Push the current matrix stack
glRasterPos2i(int x, y) (tkopengl)
- Specify the raster position for pixel operations
glRasterPos3f(float x, y, z) (tkopengl)
- Specify the raster position for pixel operations
glReadBuffer(int mode) (tkopengl)
- Select a color buffer source for pixels
glRectf(float x1, y1, x2, y2) (tkopengl)
- Draw a rectangle
glRenderbufferStorage(int target, internalformat, width, height) (tkopengl)
- Establish data storage, format and dimensions of a renderbuffer object's image
glRotatef(float angle, x, y, z) (tkopengl)
- Multiply the current matrix by a rotation matrix
glSamplerParameteri(int sampler, pname, param) (tkopengl)
- Set sampler parameters
glScalef(float x, y, z) (tkopengl)
- Multiply the current matrix by a general scaling matrix
glScissor(int x, y, width, height) (tkopengl)
- Define the scissor box
glShadeModel(int mode) (tkopengl)
- Select flat or smooth shading
glStencilFunc(int func, float ref, int mask) (tkopengl)
- Set function and reference value for stencil testing
glStencilMask(int mask) (tkopengl)
- Control the writing of individual bits in the stencil planes
glStencilOp(int fail, zfail, zpass) (tkopengl)
- Set stencil test actions
glTexCoord1f(float s) (tkopengl)
- Set the current texture coordinate
glTexCoord1i(int s) (tkopengl)
- Set the current texture coordinate
glTexCoord2f(float s, t) (tkopengl)
- Set the current texture coordinates
glTexCoord2i(int s, t) (tkopengl)
- Set the current texture coordinates
glTexCoord3f(float s, t, r) (tkopengl)
- Set the current texture coordinates
glTexEnvf(int target, pname, param) (tkopengl)
- Set texture environment parameters
glTexEnvi(int target, pname, param) (tkopengl)
- Set texture environment parameters
glTexGeni(int coord, pname, param) (tkopengl)
- Control the generation of texture coordinates
glTexImage1D(int target, level, internalformat, width, border, format, type) (tkopengl)
- Reserve memory for a 1D texture.
glTexImage2D(int target, level, internalformat, width, height, border, format, type) (tkopengl)
- Reserve memory for a 2D texture.
glTexImage3D(int target, level, internalFormat, width, height, depth, border, format, type, Object pixels) (tkopengl)
- Specify a three-dimensional texture image
glTexParameteri(int target, pname, param) (tkopengl)
- Set texture parameters.
glTexSubImage2D(int target, level, xoffset, yoffset, width, height, format, type, offset) (tkopengl)
- Specify a two-dimensional texture subimage.
glTranslatef(float x, y, z) (tkopengl)
- Multiply the current matrix by a translation matrix
glUniform1f(int location, float v0) (tkopengl)
- Specify the value of a uniform variable for the current program object
glUniform1i(int location, v0) (tkopengl)
- Specify the value of a uniform variable for the current program object
glUniform2f(int location, float v0, v1) (tkopengl)
- Specify the values of a uniform variable for the current program object
glUniform2i(int location, v0, v1) (tkopengl)
- Specify the values of a uniform variable for the current program object
glUniform3f(int location, float v0, v1, v2) (tkopengl)
- Specify the values of a uniform variable for the current program object
glUniform3i(int location, v0, v1, v2) (tkopengl)
- Specify the values of a uniform variable for the current program object
glUniform4f(int location, float v0, v1, v2, v3) (tkopengl)
- Specify the values of a uniform variable for the current program object
glUniform4i(int location, v0, v1, v2, v3) (tkopengl)
- Specify the values of a uniform variable for the current program object
glUniformMatrix2fv(int location, count, boolean tranpose, Object a) (tkopengl)
- Specify the values of a uniform 2x2 matrix variable for the current program object
glUniformMatrix3fv(int location, count, boolean tranpose, Object a) (tkopengl)
- Specify the values of a uniform 3x3 matrix variable for the current program object
glUniformMatrix4fv(int location, count, boolean tranpose, Object a) (tkopengl)
- Specify the values of a uniform 4x4 matrix variable for the current program object
glUnmapBuffer(int target) : boolean (tkopengl)
- Unmap buffer object
glUseProgram(int program) (tkopengl)
- Installs a program object as part of current rendering state
glValidateProgram(int program) (tkopengl)
- Validates a program object
glVertex2f(float x, y) (tkopengl)
- Specify a vertex
glVertex2i(int x, y) (tkopengl)
- Specify a vertex
glVertex3f(float x, y, z) (tkopengl)
- Specify a vertex
glVertex4f(float x, y, z, w) (tkopengl)
- Specify a vertex
glVertexAttrib1f(int index, float v0) (tkopengl)
- Specifies the value of a generic vertex attribute
glVertexAttrib2f(int index, float v0, v1) (tkopengl)
- Specifies the values of a generic vertex attribute
glVertexAttrib3f(int index, float v0, v1, v2) (tkopengl)
- Specifies the values of a generic vertex attribute
glVertexAttrib4f(int index, float v0, v1, v2, v3) (tkopengl)
- Specifies the values of a generic vertex attribute
glVertexAttrib4Nub(int index, byte v0, v1, v2, v3) (tkopengl)
- Specifies the values of a generic vertex attribute
glVertexAttribPointer(int index, size, type, boolean normalized, int stride, Object a) (tkopengl)
- Define an array of generic vertex attribute data
glViewport(int x, y, width, height) (tkopengl)
- Set the viewport
zglBufferData(int target, size, Object data, int usage) (tkopengl)
- Creates and initializes a buffer object's data store
zglBufferSubData(int target, offset, size, Object data) (tkopengl)
- Updates a subset of a buffer object's data store.
zglClipPlane(int plane, float eq0, eq1, eq2, eq3) (tkopengl)
- Specify a plane against which all geometry is clipped
zglColor1f(float lum) (tkopengl)
- Set the current color (grayscale)
zglColorARGB(int argb32) (tkopengl)
- Set the current color
zglColorOffset(int size, type, stride, offset) (tkopengl)
- Set color pointer offset within currently bound buffer object
zglColorPointer3f(Object array) (tkopengl)
- Define an array of RGB color data
zglColorPointer4b(Object array) (tkopengl)
- Define an array of RGBA color data
zglColorPointer4f(Object array) (tkopengl)
- Define an array of RGBA color data
zglDeleteBuffer(int id) (tkopengl)
- Delete buffer object
zglDeleteFramebuffer(int framebuffer) (tkopengl)
- Delete framebuffer objects
zglDeleteRenderbuffer(int renderbuffer) (tkopengl)
- Delete renderbuffer objects
zglDeleteSampler(int id) (tkopengl)
- Delete named sampler object
zglDeleteTexture() : int texture (tkopengl)
- Delete texture object.
zglFogAlphaMode(int mode) (tkopengl)
- Specifies the equation to be used to compute the fog alpha color.
zglFogColor4f(float r, g, b, a) (tkopengl)
- Set fog color
zglFogDensity(float param) (tkopengl)
- Specify the fog density
zglFogEnd(float param) (tkopengl)
- Specify fog far distance
zglFogMode(int mode) (tkopengl)
- Specifies the equation to be used to compute the fog blend factor
zglFogStart(float param) (tkopengl)
- Specify fog near distance
zglFrustum(float left, right, bottom, top, znear, zfar) (tkopengl)
- Multiply the current matrix by a perspective matrix
zglGenBuffer() : int (tkopengl)
- Generate buffer object name id
zglGenFramebuffer() : int (tkopengl)
- Generate framebuffer object names
zglGenRenderbuffer() : int (tkopengl)
- Generate renderbuffer object names
zglGenSampler() : int (tkopengl)
- Generate sampler object name
zglGenTexture() : int (tkopengl)
- Generate texture name.
zglGetActiveUniform(int program, index, Integer retSize, String retName) : int (tkopengl)
- Returns information about an active uniform variable for the specified program object
zglGetFloat(int name) : float (tkopengl)
- Return the value of a selected parameter
zglGetFramebufferAttachmentParameteri(int target, attachment, pname) : int (tkopengl)
- Retrieve information about attachments of a bound framebuffer object
zglGetInteger(int name) : int (tkopengl)
- Return the value of a selected parameter
zglGetProgrami(int program, pname) : int (tkopengl)
- Returns a parameter from a program object
zglGetRenderbufferParameteri(int target, pname) : int (tkopengl)
-
zglGetShaderi(int shader, pname) : int (tkopengl)
- Returns a parameter from a shader object
zglInit2D(float w, h) (tkopengl)
- Load 2D projection matrix
zglInitOrtho(float w, h) (tkopengl)
- Load orthogonal projection matrix
zglInitPerspective(float aspect, fov, znear, zfar) (tkopengl)
- Load perspective projection matrix
zglLightAmbient4f(int light, float r, g, b, a) (tkopengl)
- Set light source ambient color parameter
zglLightConstantAttenuation(int light, float factor) (tkopengl)
- Set light source constant attenuation
zglLightDiffuse4f(int light, float r, g, b, a) (tkopengl)
- Set light source diffuse color parameter
zglLightLinearAttenuation(int light, float factor) (tkopengl)
- Set light source linear attenuation
zglLightMaterialAmbient4f(int face, float r, g, b, a) (tkopengl)
- Set ambient material color
zglLightMaterialAmbientAndDiffuse4f(int face, float r, g, b, a) (tkopengl)
- Set both ambient and diffuse material colors
zglLightMaterialDiffuse4f(int face, float r, g, b, a) (tkopengl)
- Set diffuse material color
zglLightMaterialEmission4f(int face, float r, g, b, a) (tkopengl)
- Set emissive material color
zglLightMaterialShininess(int face, float exp) (tkopengl)
- Set material shininess
zglLightMaterialSpecular4f(int face, float r, g, b, a) (tkopengl)
- Set specular material color
zglLightModelAmbient4f(float r, g, b, a) (tkopengl)
- Set ambient scene color
zglLightModelColorControl(int mode) (tkopengl)
- Configure single color / separate specular color lighting mode.
zglLightModelLocalViewer(boolean param) (tkopengl)
- Configure local viewer light model
zglLightModelTwoSide(boolean param) (tkopengl)
- Configure two sided light model
zglLightPositionf(int light, float x, y, z, w) (tkopengl)
- Set light source position
zglLightQuadraticAttenuation(int light, float factor) (tkopengl)
- Set light source quadratic attenuation
zglLightSpecular4f(int light, float r, g, b, a) (tkopengl)
- Set light source specular color parameter
zglLightSpotCutOff(int light, float cutoff) (tkopengl)
- Set spotlight cutoff
zglLightSpotDirectionf(int light, float x, y, z) (tkopengl)
- Set spotlight direction
zglLightSpotExponent(int light, float exp) (tkopengl)
- Set spotlight exponent
zglLoadExtensions() (tkopengl)
- Resolve OpenGL extensions.
zglMapBuffer(int target, access, Buffer buffer, int byteSize) (tkopengl)
- Map a buffer object's data store
zglNormalOffset(int type, stride, offset) (tkopengl)
- Set normal pointer offset within currently bound buffer object
zglNormalPointer(Object array) (tkopengl)
- Define an array of normal data
zglPointParameter3f(int pname, float param) (tkopengl)
- Specify point parameters
zglReadColorPixel(int x, y) : int (tkopengl)
- Read a single pixel from the frame buffer
zglReadColorPixelsX(Object tex, int off, x, y, sx) (tkopengl)
- Read a line of pixels from the frame buffer
zglReadDepthPixel(int x, y) : float (tkopengl)
- Read a single depth value from the depth buffer
zglShaderSource(int shader, String source) (tkopengl)
- Replaces the source code in a shader object
zglTexCoordOffset(int size, type, stride, offset) (tkopengl)
- Set texture coordinate pointer offset within currently bound buffer object
zglTexCoordPointer1f(Object array) (tkopengl)
- Define an array of texture coordinate data
zglTexCoordPointer2f(Object array) (tkopengl)
- Define an array of texture coordinate data
zglTexEnvColor4f(float r, g, b, a) (tkopengl)
- Set texture environment color
zglTexGen4f(int coord, pname, float p1, p2, p3, p4) (tkopengl)
- Control the generation of texture coordinates
zgluLookAt(Object eye, center, up) (tkopengl)
- Define a viewing transformation
zglVertexOffset(int size, type, stride, offset) (tkopengl)
- Set vertex pointer offset within currently bound buffer object
zglVertexPointer(Object array) (tkopengl)
- Define an array of vertex data
zglVertexPointer2f(Object array) (tkopengl)
- Define an array of vertex data DisplayList
- Represents an OpenGL display list
alloc()
- Generate new display list name id
begin()
- Begin recording of display list
draw()
- Execute display list
end()
- End recording of display list and execute it.
free()
- Free display list
getId() : int
- Query display list name id
getName() : String
- Query the display list name
setName(String name)
- Set display list nameint
GL_2_BYTES
-
int
GL_3_BYTES
-
int
GL_4_BYTES
-
int
GL_ACCUM
-
int
GL_ACCUM_BUFFER_BIT
-
int
GL_ACTIVE_ATTRIBUTES
-
int
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
-
int
GL_ACTIVE_TEXTURE
-
int
GL_ACTIVE_UNIFORMS
-
int
GL_ACTIVE_UNIFORM_MAX_LENGTH
-
int
GL_ADD
-
int
GL_ADD_SIGNED
-
int
GL_ALL_ATTRIBS_BITS
-
int
GL_ALL_ATTRIB_BITS
-
int
GL_ALPHA
-
int
GL_ALPHA12
-
int
GL_ALPHA16
-
int
GL_ALPHA4
-
int
GL_ALPHA8
-
int
GL_ALPHA_SCALE
-
int
GL_ALPHA_TEST
-
int
GL_ALWAYS
-
int
GL_AMBIENT
-
int
GL_AMBIENT_AND_DIFFUSE
-
int
GL_AND
-
int
GL_AND_INVERTED
-
int
GL_AND_REVERSE
-
int
GL_ARRAY_BUFFER
-
int
GL_ARRAY_BUFFER_BINDING
-
int
GL_ATTACHED_SHADERS
-
int
GL_AUTO_NORMAL
-
int
GL_AUX0
-
int
GL_AUX1
-
int
GL_AUX2
-
int
GL_AUX3
-
int
GL_BACK
-
int
GL_BACK_LEFT
-
int
GL_BACK_RIGHT
-
int
GL_BGR
-
int
GL_BGRA
-
int
GL_BLEND
-
int
GL_BLEND_COLOR
-
int
GL_BLEND_DST_ALPHA
-
int
GL_BLEND_DST_RGB
-
int
GL_BLEND_EQUATION_ALPHA
-
int
GL_BLEND_EQUATION_RGB
-
int
GL_BLEND_SRC_ALPHA
-
int
GL_BLEND_SRC_RGB
-
int
GL_BLUE
-
int
GL_BOOL
-
int
GL_BOOL_VEC2
-
int
GL_BOOL_VEC3
-
int
GL_BOOL_VEC4
-
int
GL_BUFFER_ACCESS
-
int
GL_BUFFER_MAPPED
-
int
GL_BUFFER_MAP_POINTER
-
int
GL_BYTE
-
int
GL_CCW
-
int
GL_CLAMP
-
int
GL_CLAMP_TO_BORDER
-
int
GL_CLAMP_TO_EDGE
-
int
GL_CLEAR
-
int
GL_CLIENT_ACTIVE_TEXTURE
-
int
GL_CLIENT_ALL_ATTRIB_BITS
-
int
GL_CLIENT_ALL_ATTRIB_BITS
-
int
GL_CLIENT_PIXEL_STORE_BIT
-
int
GL_CLIENT_VERTEX_ARRAY_BIT
-
int
GL_CLIP_PLANE0
-
int
GL_CLIP_PLANE1
-
int
GL_CLIP_PLANE2
-
int
GL_CLIP_PLANE3
-
int
GL_CLIP_PLANE4
-
int
GL_CLIP_PLANE5
-
int
GL_COLOR
-
int
GL_COLOR_ARRAY
-
int
GL_COLOR_ARRAY_BUFFER_BINDING
-
int
GL_COLOR_ATTACHMENT0
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT1
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT10
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT11
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT12
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT13
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT14
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT15
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT2
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT3
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT4
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT5
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT6
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT7
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT8
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_ATTACHMENT9
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_COLOR_BUFFER_BIT
-
int
GL_COLOR_INDEX
-
int
GL_COLOR_LOGIC_OP
-
int
GL_COLOR_MATERIAL
-
int
GL_COMBINE
-
int
GL_COMBINE_ALPHA
-
int
GL_COMBINE_RGB
-
int
GL_CONSTANT
-
int
GL_CONSTANT_ALPHA
-
int
GL_CONSTANT_ATTENUATION
-
int
GL_CONSTANT_COLOR
-
int
GL_COORD_REPLACE
-
int
GL_COPY
-
int
GL_COPY_INVERTED
-
int
GL_CULL_FACE
-
int
GL_CURRENT_BIT
-
int
GL_CURRENT_PROGRAM
-
int
GL_CW
-
int
GL_DECAL
-
int
GL_DECR
-
int
GL_DECR_WRAP
-
int
GL_DELETE_STATUS
-
int
GL_DEPTH
-
int
GL_DEPTH_ATTACHMENT
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_DEPTH_BUFFER_BIT
-
int
GL_DEPTH_COMPONENT
-
int
GL_DEPTH_COMPONENT16
-
int
GL_DEPTH_COMPONENT24
-
int
GL_DEPTH_COMPONENT32
-
int
GL_DEPTH_STENCIL_ATTACHMENT
-
int
GL_DEPTH_TEST
-
int
GL_DIFFUSE
-
int
GL_DITHER
-
int
GL_DONT_CARE
-
int
GL_DOT3_RGB
-
int
GL_DOT3_RGBA
-
int
GL_DOUBLE
-
int
GL_DRAW_BUFFER0
-
int
GL_DRAW_BUFFER1
-
int
GL_DRAW_BUFFER2
-
int
GL_DRAW_BUFFER3
-
int
GL_DRAW_BUFFER4
-
int
GL_DRAW_BUFFER5
-
int
GL_DRAW_BUFFER6
-
int
GL_DRAW_BUFFER7
-
int
GL_DRAW_FRAMEBUFFER
-
int
GL_DST_ALPHA
-
int
GL_DST_COLOR
-
int
GL_DYNAMIC_COPY
-
int
GL_DYNAMIC_DRAW
-
int
GL_DYNAMIC_READ
-
int
GL_EDGE_FLAG_ARRAY
-
int
GL_EDGE_FLAG_ARRAY_BUFFER_BINDING
-
int
GL_ELEMENT_ARRAY_BUFFER
-
int
GL_ELEMENT_ARRAY_BUFFER_BINDING
-
int
GL_EMISSION
-
int
GL_ENABLE_BIT
-
int
GL_EQUAL
-
int
GL_EQUIV
-
int
GL_EVAL_BIT
-
int
GL_EXP
-
int
GL_EXP2
-
int
GL_EXTENSIONS
-
int
GL_EYE_LINEAR
-
int
GL_EYE_PLANE
-
int
GL_FALSE
-
int
GL_FASTEST
-
int
GL_FEEDBACK
-
int
GL_FILL
-
int
GL_FLAT
-
int
GL_FLOAT
-
int
GL_FLOAT_MAT2
-
int
GL_FLOAT_MAT3
-
int
GL_FLOAT_MAT4
-
int
GL_FLOAT_VEC2
-
int
GL_FLOAT_VEC3
-
int
GL_FLOAT_VEC4
-
int
GL_FOG
-
int
GL_FOG_BIT
-
int
GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
-
int
GL_FOG_HINT
-
int
GL_FRAGMENT_DEPTH
-
int
GL_FRAGMENT_SHADER
-
int
GL_FRAGMENT_SHADER_DERIVATIVE_HINT
-
int
GL_FRAMEBUFFER
- Accepted by the <target> parameter of glBindFramebuffer()
, glCheckFramebufferStatus()
, glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
- Accepted by the <pname> parameter of zglGetFramebufferAttachmentParameteri()
int
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
- Accepted by the <pname> parameter of zglGetFramebufferAttachmentParameteri()
int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET
- Accepted by the <pname> parameter of zglGetFramebufferAttachmentParameteri()
int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
- Accepted by the <pname> parameter of zglGetFramebufferAttachmentParameteri()
int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
- Accepted by the <pname> parameter of zglGetFramebufferAttachmentParameteri()
int
GL_FRAMEBUFFER_BINDING
- Accepted by zglGetInteger()
int
GL_FRAMEBUFFER_COMPLETE
- Returned by glCheckFramebufferStatus()
int
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
- Returned by glCheckFramebufferStatus()
int
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
- Returned by glCheckFramebufferStatus()
int
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
- Returned by glCheckFramebufferStatus()
int
GL_FRAMEBUFFER_INCOMPLETE_FORMATS
- Returned by glCheckFramebufferStatus()
int
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
- Returned by glCheckFramebufferStatus()
int
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
- Returned by glCheckFramebufferStatus()
int
GL_FRAMEBUFFER_UNSUPPORTED
- Returned by glCheckFramebufferStatus()
int
GL_FRONT
-
int
GL_FRONT_AND_BACK
-
int
GL_FRONT_LEFT
-
int
GL_FRONT_RIGHT
-
int
GL_FUNC_ADD
-
int
GL_FUNC_REVERSE_SUBTRACT
-
int
GL_FUNC_SUBTRACT
-
int
GL_GENERATE_MIPMAP
-
int
GL_GENERATE_MIPMAP_HINT
-
int
GL_GEQUAL
-
int
GL_GREATER
-
int
GL_GREEN
-
int
GL_HINT_BIT
-
int
GL_INCR
-
int
GL_INCR_WRAP
-
int
GL_INDEX_ARRAY
-
int
GL_INDEX_ARRAY_BUFFER_BINDING
-
int
GL_INFO_LOG_LENGTH
-
int
GL_INT
-
int
GL_INTENSITY
-
int
GL_INTENSITY12
-
int
GL_INTENSITY16
-
int
GL_INTENSITY4
-
int
GL_INTENSITY8
-
int
GL_INTENSITY8
-
int
GL_INTERPOLATE
-
int
GL_INT_VEC2
-
int
GL_INT_VEC3
-
int
GL_INT_VEC4
-
int
GL_INVALID_FRAMEBUFFER_OPERATION
- Returned by glGetError()
int
GL_INVERT
-
int
GL_KEEP
-
int
GL_LEFT
-
int
GL_LEQUAL
-
int
GL_LESS
-
int
GL_LIGHT0
-
int
GL_LIGHT1
-
int
GL_LIGHT2
-
int
GL_LIGHT3
-
int
GL_LIGHT4
-
int
GL_LIGHT5
-
int
GL_LIGHT6
-
int
GL_LIGHT7
-
int
GL_LIGHTING
-
int
GL_LIGHTING_BIT
-
int
GL_LINE
-
int
GL_LINEAR
-
int
GL_LINEAR_ATTENUATION
-
int
GL_LINES
-
int
GL_LINE_BIT
-
int
GL_LINE_LOOP
-
int
GL_LINE_SMOOTH
-
int
GL_LINE_SMOOTH_HINT
-
int
GL_LINE_STIPPLE
-
int
GL_LINE_STRIP
-
int
GL_LINK_STATUS
-
int
GL_LIST_BIT
-
int
GL_LOAD
-
int
GL_LOWER_LEFT
-
int
GL_LUMINANCE
-
int
GL_LUMINANCE12
-
int
GL_LUMINANCE12_ALPHA12
-
int
GL_LUMINANCE12_ALPHA4
-
int
GL_LUMINANCE16
-
int
GL_LUMINANCE16_ALPHA16
-
int
GL_LUMINANCE4
-
int
GL_LUMINANCE4_ALPHA4
-
int
GL_LUMINANCE6_ALPHA2
-
int
GL_LUMINANCE8
-
int
GL_LUMINANCE8
-
int
GL_LUMINANCE8_ALPHA8
-
int
GL_LUMINANCE8_ALPHA8
-
int
GL_LUMINANCE_ALPHA
-
int
GL_MAX
-
int
GL_MAX_COLOR_ATTACHMENTS
- Accepted by zglGetInteger()
int
GL_MAX_DRAW_BUFFERS
-
int
GL_MAX_ELEMENTS_INDICES
-
int
GL_MAX_ELEMENTS_VERTICES
-
int
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
-
int
GL_MAX_RECTANGLE_TEXTURE_SIZE
- Accepted by the <pname> parameter of →glGetBooleanv, →glGetDoublev, glGetIntegerv()
and glGetFloatv()
int
GL_MAX_RENDERBUFFER_SIZE
- Accepted by glGetIntegerv()
int
GL_MAX_TEXTURE_COORDS
-
int
GL_MAX_TEXTURE_UNITS
-
int
GL_MAX_VARYING_FLOATS
-
int
GL_MAX_VERTEX_ATTRIBS
-
int
GL_MAX_VERTEX_UNIFORM_COMPONENTS
-
int
GL_MIN
-
int
GL_MIRRORED_REPEAT
-
int
GL_MODELVIEW
-
int
GL_MODULATE
-
int
GL_MULT
-
int
GL_NAND
-
int
GL_NEAREST
-
int
GL_NEVER
-
int
GL_NICEST
-
int
GL_NONE
-
int
GL_NOOP
-
int
GL_NOR
-
int
GL_NORMALIZE
-
int
GL_NORMAL_ARRAY
-
int
GL_NORMAL_ARRAY_BUFFER_BINDING
-
int
GL_NORMAL_MAP
-
int
GL_NOTEQUAL
-
int
GL_OBJECT_LINEAR
-
int
GL_OBJECT_PLANE
-
int
GL_OBJECT_TYPE
-
int
GL_ONE
-
int
GL_ONE_MINUS_CONSTANT_ALPHA
-
int
GL_ONE_MINUS_CONSTANT_COLOR
-
int
GL_ONE_MINUS_DST_ALPHA
-
int
GL_ONE_MINUS_DST_COLOR
-
int
GL_ONE_MINUS_SRC_ALPHA
-
int
GL_ONE_MINUS_SRC_COLOR
-
int
GL_OPERAND0_ALPHA
-
int
GL_OPERAND0_RGB
-
int
GL_OPERAND1_ALPHA
-
int
GL_OPERAND1_RGB
-
int
GL_OPERAND2_ALPHA
-
int
GL_OPERAND2_RGB
-
int
GL_OR
-
int
GL_OR_INVERTED
-
int
GL_OR_REVERSE
-
int
GL_PERSPECTIVE_CORRECTION_HINT
-
int
GL_PIXEL_MODE_BIT
-
int
GL_PIXEL_PACK_BUFFER
-
int
GL_PIXEL_PACK_BUFFER_BINDING
-
int
GL_PIXEL_UNPACK_BUFFER
-
int
GL_PIXEL_UNPACK_BUFFER_BINDING
-
int
GL_POINT
-
int
GL_POINTS
-
int
GL_POINT_BIT
-
int
GL_POINT_DISTANCE_ATTENUATION
-
int
GL_POINT_FADE_THRESHOLD_SIZE
-
int
GL_POINT_SIZE_MAX
-
int
GL_POINT_SIZE_MIN
-
int
GL_POINT_SMOOTH
-
int
GL_POINT_SMOOTH_HINT
-
int
GL_POINT_SPRITE
-
int
GL_POINT_SPRITE_COORD_ORIGIN
-
int
GL_POLYGON
-
int
GL_POLYGON_BIT
-
int
GL_POLYGON_OFFSET_FILL
-
int
GL_POLYGON_OFFSET_LINE
-
int
GL_POLYGON_OFFSET_POINT
-
int
GL_POLYGON_SMOOTH
-
int
GL_POLYGON_SMOOTH_HINT
-
int
GL_POLYGON_STIPPLE
-
int
GL_POLYGON_STIPPLE_BIT
-
int
GL_PREVIOUS
-
int
GL_PRIMARY_COLOR
-
int
GL_PROGRAM_OBJECT
-
int
GL_PROJECTION
-
int
GL_PROXY_TEXTURE_1D
-
int
GL_PROXY_TEXTURE_2D
-
int
GL_PROXY_TEXTURE_3D
-
int
GL_PROXY_TEXTURE_RECTANGLE
- Accepted by the <target> parameter of →glGetTexLevelParameteriv, →glGetTexLevelParameterfv, →glGetTexParameteriv and glTexImage2D()
int
GL_Q
-
int
GL_QUADRATIC_ATTENUATION
-
int
GL_QUADS
-
int
GL_QUAD_STRIP
-
int
GL_R
-
int
GL_R3_G3_B2
-
int
GL_READ_FRAMEBUFFER
-
int
GL_READ_ONLY
-
int
GL_READ_WRITE
-
int
GL_RED
-
int
GL_REFLECTION_MAP
-
int
GL_RENDER
-
int
GL_RENDERBUFFER
- Accepted by the <target> parameter of glBindRenderbuffer()
, glRenderbufferStorage()
, →glGetRenderbufferParameteri, and returned by zglGetFramebufferAttachmentParameteri()
int
GL_RENDERBUFFER_ALPHA_SIZE
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_BINDING
- Accepted by zglGetInteger()
int
GL_RENDERBUFFER_BLUE_SIZE
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_DEPTH_SIZE
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_GREEN_SIZE
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_HEIGHT
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_INTERNAL_FORMAT
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_RED_SIZE
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_STENCIL_SIZE
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERBUFFER_WIDTH
- Accepted by the <pname> parameter of zglGetRenderbufferParameteri()
int
GL_RENDERER
-
int
GL_REPEAT
-
int
GL_REPLACE
-
int
GL_RETURN
-
int
GL_RGB
-
int
GL_RGB10
-
int
GL_RGB10_A2
-
int
GL_RGB12
-
int
GL_RGB16
-
int
GL_RGB4
-
int
GL_RGB5
-
int
GL_RGB5_A1
-
int
GL_RGB8
-
int
GL_RGBA
-
int
GL_RGBA12
-
int
GL_RGBA16
-
int
GL_RGBA2
-
int
GL_RGBA4
-
int
GL_RGBA8
-
int
GL_RGB_SCALE
-
int
GL_RIGHT
-
int
GL_S
-
int
GL_SAMPLER_1D
-
int
GL_SAMPLER_1D_SHADOW
-
int
GL_SAMPLER_2D
-
int
GL_SAMPLER_2D_RECT
- Returned by <type> parameter of →glGetActiveUniform when the location <index> for program object <program> is of type sampler2DRect
int
GL_SAMPLER_2D_RECT_SHADOW
- Returned by <type> parameter of →glGetActiveUniform when the location <index> for program object <program> is of type sampler2DRectShadow
int
GL_SAMPLER_2D_SHADOW
-
int
GL_SAMPLER_3D
-
int
GL_SAMPLER_CUBE
-
int
GL_SCISSOR_BIT
-
int
GL_SCISSOR_TEST
-
int
GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING
-
int
GL_SELECT
-
int
GL_SEPARATE_SPECULAR_COLOR
-
int
GL_SET
-
int
GL_SHADER_OBJECT
-
int
GL_SHADER_SOURCE_LENGTH
-
int
GL_SHADER_TYPE
-
int
GL_SHADING_LANGUAGE_VERSION
-
int
GL_SHORT
-
int
GL_SINGLE_COLOR
-
int
GL_SMOOTH
-
int
GL_SPECULAR
-
int
GL_SPHERE_MAP
-
int
GL_SPOT_CUTOFF
-
int
GL_SPOT_EXPONENT
-
int
GL_SRC0_ALPHA
-
int
GL_SRC0_RGB
-
int
GL_SRC1_ALPHA
-
int
GL_SRC1_RGB
-
int
GL_SRC2_ALPHA
-
int
GL_SRC2_RGB
-
int
GL_SRC_ALPHA
-
int
GL_SRC_ALPHA_SATURATE
-
int
GL_SRC_COLOR
-
int
GL_STATIC_COPY
-
int
GL_STATIC_DRAW
-
int
GL_STATIC_READ
-
int
GL_STENCIL
-
int
GL_STENCIL_ATTACHMENT
- Accepted by the <attachment> parameter of glFramebufferTexture1D()
, glFramebufferTexture2D()
, glFramebufferTexture3D()
, glFramebufferRenderbuffer()
, and zglGetFramebufferAttachmentParameteri()
int
GL_STENCIL_BUFFER_BIT
-
int
GL_STENCIL_INDEX
-
int
GL_STENCIL_INDEX1
- Accepted by the <internalformat> parameter of glRenderbufferStorage()
int
GL_STENCIL_INDEX16
- Accepted by the <internalformat> parameter of glRenderbufferStorage()
int
GL_STENCIL_INDEX4
- Accepted by the <internalformat> parameter of glRenderbufferStorage()
int
GL_STENCIL_INDEX8
- Accepted by the <internalformat> parameter of glRenderbufferStorage()
int
GL_STENCIL_TEST
-
int
GL_STREAM_COPY
-
int
GL_STREAM_DRAW
-
int
GL_STREAM_READ
-
int
GL_SUBTRACT
-
int
GL_T
-
int
GL_TEXTURE
-
int
GL_TEXTURE0
-
int
GL_TEXTURE1
-
int
GL_TEXTURE10
-
int
GL_TEXTURE11
-
int
GL_TEXTURE12
-
int
GL_TEXTURE13
-
int
GL_TEXTURE14
-
int
GL_TEXTURE15
-
int
GL_TEXTURE2
-
int
GL_TEXTURE3
-
int
GL_TEXTURE4
-
int
GL_TEXTURE5
-
int
GL_TEXTURE6
-
int
GL_TEXTURE7
-
int
GL_TEXTURE8
-
int
GL_TEXTURE9
-
int
GL_TEXTURE_1D
-
int
GL_TEXTURE_2D
-
int
GL_TEXTURE_3D
-
int
GL_TEXTURE_BASE_LEVEL
-
int
GL_TEXTURE_BINDING_CUBE_MAP
-
int
GL_TEXTURE_BINDING_RECTANGLE
- Accepted by the <pname> parameter of →glGetBooleanv, glGetIntegerv()
, glGetFloatv()
and →glGetDoublev
int
GL_TEXTURE_BIT
-
int
GL_TEXTURE_COMPARE_FUNC
-
int
GL_TEXTURE_COMPARE_MODE
-
int
GL_TEXTURE_COMPARE_R_TO_TEXTURE
-
int
GL_TEXTURE_COORD_ARRAY
-
int
GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
-
int
GL_TEXTURE_CUBE_MAP
-
int
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
-
int
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
-
int
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
-
int
GL_TEXTURE_CUBE_MAP_POSITIVE_X
-
int
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
-
int
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
-
int
GL_TEXTURE_ENV
-
int
GL_TEXTURE_ENV_COLOR
-
int
GL_TEXTURE_ENV_MODE
-
int
GL_TEXTURE_FILTER_CONTROL
-
int
GL_TEXTURE_GEN_MODE
-
int
GL_TEXTURE_GEN_Q
-
int
GL_TEXTURE_GEN_R
-
int
GL_TEXTURE_GEN_S
-
int
GL_TEXTURE_GEN_T
-
int
GL_TEXTURE_LOD_BIAS
-
int
GL_TEXTURE_MAG_FILTER
-
int
GL_TEXTURE_MAX_LEVEL
-
int
GL_TEXTURE_MAX_LOD
-
int
GL_TEXTURE_MIN_FILTER
-
int
GL_TEXTURE_MIN_LOD
-
int
GL_TEXTURE_PRIORITY
-
int
GL_TEXTURE_RECTANGLE
- Accepted by the <cap> parameter of glEnable()
, glDisable()
and glIsEnabled()
, by the <pname> parameter of →glGetBooleanv, glGetIntegerv()
, glGetFloatv()
and →glGetDoublev, and by the <target> parameter of glBindTexture()
, →zglGetTexParameterf, →zglGetTexParameteri, →glTexParameterf, glTexParameteri()
, →glTexParameterfv and →glTexParameteriv
int
GL_TEXTURE_RESIDENT
-
int
GL_TEXTURE_WRAP_R
-
int
GL_TEXTURE_WRAP_S
-
int
GL_TEXTURE_WRAP_T
-
int
GL_TRANSFORM_BIT
-
int
GL_TRIANGLES
-
int
GL_TRIANGLE_FAN
-
int
GL_TRIANGLE_STRIP
-
int
GL_TRUE
-
int
GL_UNSIGNED_BYTE
-
int
GL_UNSIGNED_INT
-
int
GL_UNSIGNED_INT_8_8_8_8
-
int
GL_UNSIGNED_INT_8_8_8_8_REV
-
int
GL_UNSIGNED_SHORT
-
int
GL_UNSIGNED_SHORT_5_6_5
-
int
GL_UNSIGNED_SHORT_5_6_5_REV
-
int
GL_UPPER_LEFT
-
int
GL_VALIDATE_STATUS
-
int
GL_VENDOR
-
int
GL_VERSION
-
int
GL_VERTEX_ARRAY
-
int
GL_VERTEX_ARRAY_BUFFER_BINDING
-
int
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
-
int
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
-
int
GL_VERTEX_SHADER
-
int
GL_VIEWPORT_BIT
-
int
GL_WEIGHT_ARRAY_BUFFER_BINDING
-
int
GL_WRITE_ONLY
-
int
GL_XOR
-
int
GL_ZERO
-
Texture
- Represents an OpenGL texture
adjustBrightness(float brightness)
-
adjustGamma(float gamma)
-
alloc(int width, height, numBytesPerPixel) : boolean
- Allocate bitmap data
alloc2n(int width, height, bytesPerPixel) : boolean
- Allocate bitmap
applyColorMap(Texture tex, cmap)
- Apply colormap to tex and store result in this texture
bind()
- Bind texture to associated OpenGL texture target
blend(Texture srca, srcb, byte ratio)
-
clear(int argb32)
- Fill pixels with given clear color
colorKeyToAlpha(int argb32)
-
copyRegion(Texture srctex, int px, py, w, h, dx, dy)
-
countPixels(int argb32) : float
-
createMask(int colorKey)
-
disable()
- Disable texture target (glDisable())
drawFilledBox(int px, py, sx, sy, argb32)
-
drawLine(int qx, qy, px, py, argb32)
- Simple bresenham line renderer
drawPixels2f(float x, y)
- Draw texture via glDrawPixels
drawPixels2i(int x, y)
- Draw texture via glDrawPixels
drawPixels3f(float x, y, z)
- Draw texture via glDrawPixels
drawPolygon(Object array, int argb32)
- Simple polygon renderer
enable()
- Enable texture target (glEnable())
expand2n()
- Automatically resize image and add black borders if width or height is not a power of two.
flipY()
- Rotate bitmap 180 degrees about the x axis
free()
- Free bitmap data and OpenGL texture handle
freeImage()
- Free bitmap data
getFgcolor() : int
-
getFlags() : int
-
getId() : int
- Query OpenGL texture name id
getMipMapLevel() : int
- Query OpenGL mip map level
getStride() : int
- Query number of bytes per scanline
getSx() : int
- Query texture width
getSy() : int
- Query texture height
getTarget() : int
- Query OpenGL texture target
getXY32(int x, y) : int
- Query pixel
getZ() : int
- Query number of bytes per pixel
grayscale() : boolean
-
interleaveAlpha(Texture alphaTex)
-
loadImage(String pakFileName, int newWidth, newHeight, newNumBytes) : boolean
- Load local image and scale to the given geometry and depth.
loadLocalImage(String localFileName, int newWidth, newHeight, newNumBytes) : boolean
- Load local image and scale to the given geometry and depth.
multiply(Texture srca, srcb)
-
renderFixedText(Texture fontTex, int charWidth, String text, int x, y, IntArray colors, attributes)
- Simple fixed font text renderer
saveImage(String localFileName) : boolean
-
scaleFrom(Texture src)
-
scroll(int dx, dy)
-
setEnvColor(int argb32)
-
setFgcolor(int argb32)
- Set foreground color for image manipulation helpers
setFlags()
-
setFlags()
-
setFlags(int flags)
- Set texture flags.
setId(int name)
- Set OpenGL texture name id
setMipMapLevel(int level)
- Set OpenGL mip map level
setPriority(float prio) : float
- Set OpenGL texture priority
setScreen(Texture srctex)
- Share bitmap data with other Texture
setScreenArea(Texture srctex, int ltx, lty, width, height)
-
setTarget(int target)
- Set OpenGL texture target
setXY32(int x, y, argb32)
- Put pixel
simpleBlur(Texture src)
-
simpleBlurX(Texture src)
-
simpleBlurY(Texture src)
-
swapScreen(Texture tex)
- Swap bitmap data
unload()
- Free OpenGL texture handle
update()
- (Re-)Upload to OpenGL
updateRegion(int x, y, w, h)
- (Re-) upload region to OpenGL
upload()
-
visitBuffer(Buffer buffer, int w, h, bpp)
- Share (non-deletable) buffer view.int
TEX_16BIT
- Hint OpenGL to store that texture in a 16bit per pixel format
int
TEX_1D
- Use GL_TEXTURE_1D texture target
int
TEX_ALPHA
- Use alpha channel
int
TEX_AUTOMIPMAP
- Automatically generate mip maps
int
TEX_BLEND
-
int
TEX_CLAMPTOEDGE_S
-
int
TEX_CLAMPTOEDGE_T
-
int
TEX_DECAL
-
int
TEX_DELETE
- Delete bitmap after texture has been uploaded to OpenGL
int
TEX_ENVMASK
-
int
TEX_FILTERMASK
-
int
TEX_FORCEHOSTBYTEORDER
- Hint that the bitmap uses the host byte order (e.g. A,B,G,R on little endian)
int
TEX_INTENSITY
- Upload 8bit texture in INTENSITY format
int
TEX_MAGFILTERLINEAR
-
int
TEX_MAGFILTERTRILINEAR
-
int
TEX_MINFILTERLINEAR
-
int
TEX_MINFILTERTRILINEAR
-
int
TEX_MODULATE
- Allow the texels to be modulated by the current OpenGL color
int
TEX_POINTSPRITE
-
int
TEX_REPEATMASK
-
int
TEX_REPEAT_S
- Repeat texels along the x axis
int
TEX_REPEAT_T
- Repeat texels along the y axis
int
TEX_REPLACE
-
int
TEX_UPLOADED
- This flag is set when the texture has been uploaded to OpenGL
Function glActiveTexture | |||||
Select active texture unit | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
glActiveTexture selects which texture unit subsequent texture state calls will affect. The number of texture units an implementation supports is implementation dependent, but must be at least 2. Vertex arrays are client-side GL resources, which are selected by the glClientActiveTexture() routine. |
Function glAlphaFunc | |||||||||||||||
Specify the alpha test function | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glArrayElement | |||||
Render a vertex using the specified vertex array element | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glAttachShader | |||||||||||||||
Attaches a shader object to a program object | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glBegin | |||||
Delimit the vertices of a primitive or a group of like primitives | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glBindAttribLocation | ||||||||||||||||||||
Associates a generic vertex attribute index with a named attribute variable | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glBindBuffer | |||||||||||||||
Bind a named buffer to a target | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
| |||||||||||||||
Description | |||||||||||||||
While a non-zero buffer object is bound to the GL_ARRAY_BUFFER target, the vertex array pointer parameter that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the buffer object measured in basic machine units.
While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, the indices parameter of glDrawElements() that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the buffer object measured in basic machine units. |
Function glBindFragDataLocation | ||||||||||||||||||||
Bind a user-defined varying out variable to a fragment shader color number | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glBindFragDataLocationIndexed | |||||||||||||||||||||||||
Bind a user-defined varying out variable to a fragment shader color number and index | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glBindFramebuffer | |||||||||||||||
Bind a framebuffer to a framebuffer target | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glBindRenderbuffer | |||||||||||||||
Bind a renderbuffer to a renderbuffer target | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glBindSampler | |||||||||||||||
Bind a named sampler to a texturing target | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glBindTexture | |||||||||||||||
Bind a named texture to a texturing target | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glBlendColor | |||||||||||||||||||||||||
Set the blend color | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glBlendEquation | |||||
Specify the equation used for both the RGB blend equation and the Alpha blend equation | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glBlendFunc | |||||||||||||||
Specify pixel arithmetic | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glBlendFuncSeparate | |||||||||||||||||||||||||
Specify pixel arithmetic for RGB and alpha components separately | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glCallList | |||||
Execute a display list | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glCheckFramebufferStatus | ||||||||||
Check the completeness status of a framebuffer | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glClear | |||||
Clear buffers to preset values | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glClearColor | |||||||||||||||||||||||||
Specify clear values for the color buffers | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glClearDepth | |||||
Specify the clear value for the depth buffer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glClearStencil | |||||
Specify the clear value for the stencil buffer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glClientActiveTexture | |||||
select active texture unit | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
glActiveTexture selects which texture unit subsequent texture state calls will affect. The number of texture units an implementation supports is implementation dependent, but must be at least 2. glClientActiveTexture selects the vertex array client state parameters to be modified by glTexCoordPointer (see zglTexCoordPointer1f() , zglTexCoordPointer2f() , →zglTexCoordPointer3f), and enabled or disabled with glEnableClientState() or glDisableClientState, respectively, when called with a parameter of GL_TEXTURE_COORD_ARRAY . |
Function glColor3f | ||||||||||||||||||||
Set the current color | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glColor3ub | ||||||||||||||||||||
Set the current color | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glColor4f | |||||||||||||||||||||||||
Set the current color | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glColor4ub | |||||||||||||||||||||||||
Set the current color | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glColorMask | |||||||||||||||||||||||||
Enable and disable writing of frame buffer color components | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glColorMaterial | |||||||||||||||
Specify which material parameters track the current color | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glCompileShader | |||||
Compiles a shader object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glCopyPixels | ||||||||||||||||||||||||||||||
Copy pixels in the frame buffer | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function glCopyTexImage2D | |||||||||||||||||||||||||||||||||||||||||||||
Copy pixels into a 2D texture image | |||||||||||||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||||||||||||
|
Function glCopyTexSubImage2D | |||||||||||||||||||||||||||||||||||||||||||||
Copy a two-dimensional texture subimage | |||||||||||||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||||||||||||
|
Function glCopyTexSubImage3D | ||||||||||||||||||||||||||||||||||||||||||||||||||
Copy a three-dimensional texture subimage | ||||||||||||||||||||||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Function glCreateProgram | |||||
Creates a program object | |||||
Signature | |||||
| |||||
Returns | |||||
|
Function glCreateShader | ||||||||||
Creates a shader object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glCullFace | |||||
Specify whether front- or back-facing facets can be culled | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDeleteProgram | |||||
Deletes a program object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDeleteShader | |||||
Deletes a shader object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDepthFunc | |||||
Specify the value used for depth buffer comparisons | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDepthMask | |||||
Enable or disable writing into the depth buffer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDetachShader | |||||||||||||||
Detaches a shader object from a program object to which it is attached | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glDisable | |||||
Disable server-side GL capabilities | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDisableClientState | |||||
Disable client-side capability | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDisableVertexAttribArray | |||||
Disable a generic vertex attribute array | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDrawArrays | ||||||||||||||||||||
Render primitives from array data | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glDrawBuffer | |||||
Specify which color buffers are to be drawn into | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glDrawBuffers | |||||||||||||||
Specifies a list of color buffers to be drawn into | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glDrawElements | |||||||||||||||
Render primitives from array data | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glEdgeFlag | |||||
Flag edges as either boundary or nonboundary | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glEnable | |||||
Enable server-side GL capabilities | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glEnableClientState | |||||
Enable client-side capability | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glEnableVertexAttribArray | |||||
Enable a generic vertex attribute array | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glEnd | |||
Delimit the vertices of a primitive or a group of like primitives | |||
Signature | |||
|
Function glFinish | |||
Block until all GL execution is complete | |||
Signature | |||
|
Function glFlush | |||
Force execution of GL commands in finite time | |||
Signature | |||
|
Function glFramebufferRenderbuffer | |||||||||||||||||||||||||
Attach a renderbuffer as a logical buffer to the currently bound framebuffer object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glFramebufferTexture1D | ||||||||||||||||||||||||||||||
Attach a level of a texture object as a logical buffer to the currently bound framebuffer object | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function glFramebufferTexture2D | ||||||||||||||||||||||||||||||
Attach a level of a texture object as a logical buffer to the currently bound framebuffer object | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function glFramebufferTexture3D | |||||||||||||||||||||||||||||||||||
Attach a level of a texture object as a logical buffer to the currently bound framebuffer object | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
|
Function glFrontFace | |||||
Define front- and back-facing polygons | |||||
Signature | |||||
| |||||
Arguments | |||||
Function glFrustum | |||||||||||||||||||||||||||||||||||
Multiply the current matrix by a perspective matrix | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
|
Function glGenerateMipmap | |||||
Generate a complete set of mipmaps for a texture object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glGetAttribLocation | |||||||||||||||
Returns the location of an attribute variable | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glGetError | |||||
Return last GL error code and reset internal error state to GL_NO_ERROR. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Function glGetFloatv | |||||||||||||||
Use this for queries that return a float vector. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glGetFragDataIndex | ||||||||||||||||||||
Query the bindings of color indices to user-defined varying out variables | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function glGetFragDataLocation | ||||||||||||||||||||
Query the bindings of color numbers to user-defined varying out variables | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function glGetIntegerv | |||||||||||||||
Use this for queries that return an integer vector. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glGetProgramInfoLog | |||||||||||||||
Returns the information log for a program object | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glGetShaderInfoLog | |||||||||||||||
Returns the information log for a shader object | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glGetString | ||||||||||
Return a string describing the current GL connection | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glGetUniformLocation | ||||||||||||||||||||
Returns the location of a uniform variable | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function glHint | |||||||||||||||
Specify implementation-specific hints | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glIsBuffer | ||||||||||
Query whether the given name id is bound to a buffer object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glIsEnabled | ||||||||||
Test whether a capability is enabled | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glIsFramebuffer | ||||||||||
Determine if a name corresponds to a framebuffer object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glIsRenderbuffer | ||||||||||
Determine if a name corresponds to a renderbuffer object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glLightModeli | |||||||||||||||
Configure light model | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glLineStipple | |||||||||||||||
Specify the line stipple pattern | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glLineWidth | |||||
Specify the width of rasterized lines | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glLinkProgram | |||||
Links a program object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glLoadIdentity | |||
Replace the current matrix with the identity matrix | |||
Signature | |||
|
Function glLoadMatrixf | |||||
Replace the current matrix with the specified matrix | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glLogicOp | |||||
Specify a logical pixel operation for color index rendering | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glMatrixMode | |||||
Specify which matrix is the current matrix | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glMultiTexCoord1f | |||||||||||||||
Set the current texture coordinate | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glMultiTexCoord2f | ||||||||||||||||||||
Set the current texture coordinates | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glMultiTexCoord3f | |||||||||||||||||||||||||
Set the current texture coordinates | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glNormal3f | ||||||||||||||||||||
Set the current normal vector | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glOrtho | |||||||||||||||||||||||||||||||||||
Multiply the current matrix with an orthographic matrix | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
|
Function glPixelZoom | |||||||||||||||
Specify the pixel zoom factors | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glPointParameterf | |||||||||||||||
Specify point parameter | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glPointSize | |||||
Specify the diameter of rasterized points | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glPolygonMode | |||||||||||||||
Select a polygon rasterization mode | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glPolygonOffset | |||||||||||||||
Set the scale and units used to calculate depth values | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glPopAttrib | |||
Pop the server attribute stack | |||
Signature | |||
|
Function glPopClientAttrib | |||
Pop the client attribute stack | |||
Signature | |||
|
Function glPopMatrix | |||
Pop the current matrix stack | |||
Signature | |||
|
Function glPushAttrib | |||||
Push the server attribute stack | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glPushClientAttrib | |||||
Push the client attribute stack | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glPushMatrix | |||
Push the current matrix stack | |||
Signature | |||
|
Function glRasterPos2i | |||||||||||||||
Specify the raster position for pixel operations | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glRasterPos3f | ||||||||||||||||||||
Specify the raster position for pixel operations | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glReadBuffer | |||||
Select a color buffer source for pixels | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glRectf | |||||||||||||||||||||||||
Draw a rectangle | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glRenderbufferStorage | |||||||||||||||||||||||||
Establish data storage, format and dimensions of a renderbuffer object's image | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glRotatef | |||||||||||||||||||||||||
Multiply the current matrix by a rotation matrix | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glSamplerParameteri | ||||||||||||||||||||
Set sampler parameters | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glScalef | ||||||||||||||||||||
Multiply the current matrix by a general scaling matrix | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glScissor | |||||||||||||||||||||||||
Define the scissor box | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glShadeModel | |||||
Select flat or smooth shading | |||||
Signature | |||||
| |||||
Arguments | |||||
Function glStencilFunc | ||||||||||||||||||||
Set function and reference value for stencil testing | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glStencilMask | |||||
Control the writing of individual bits in the stencil planes | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glStencilOp | ||||||||||||||||||||
Set stencil test actions | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glTexCoord1f | |||||
Set the current texture coordinate | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glTexCoord1i | |||||
Set the current texture coordinate | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glTexCoord2f | |||||||||||||||
Set the current texture coordinates | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glTexCoord2i | |||||||||||||||
Set the current texture coordinates | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glTexCoord3f | ||||||||||||||||||||
Set the current texture coordinates | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glTexEnvf | ||||||||||||||||||||
Set texture environment parameters | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
Function glTexEnvi | ||||||||||||||||||||
Set texture environment parameters | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
Function glTexGeni | ||||||||||||||||||||
Control the generation of texture coordinates | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glTexImage1D | ||||||||||||||||||||||||||||||||||||||||
Reserve memory for a 1D texture. | ||||||||||||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
Description | ||||||||||||||||||||||||||||||||||||||||
Function glTexImage2D | |||||||||||||||||||||||||||||||||||||||||||||
Reserve memory for a 2D texture. | |||||||||||||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||||||||||||||||||
Function glTexImage3D | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specify a three-dimensional texture image | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
The pixels parameter is ignored, for now. |
Function glTexParameteri | ||||||||||||||||||||
Set texture parameters. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Description | ||||||||||||||||||||
Note: For some obscure(?) reason, omitting this call before uploading a texture will cause GL to silently fail and simply render foreground-color filled triangles. (The Texture class takes care of this automatically). |
Function glTexSubImage2D | ||||||||||||||||||||||||||||||||||||||||||||||||||
Specify a two-dimensional texture subimage. | ||||||||||||||||||||||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
Please notice that texture uploads are usually handled in the Texture class. This function is merely useful when working with OpenGL 2.1 pixel buffer objects (PBO). |
Function glTranslatef | ||||||||||||||||||||
Multiply the current matrix by a translation matrix | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glUniform1f | |||||||||||||||
Specify the value of a uniform variable for the current program object | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glUniform1i | |||||||||||||||
Specify the value of a uniform variable for the current program object | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glUniform2f | ||||||||||||||||||||
Specify the values of a uniform variable for the current program object | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glUniform2i | ||||||||||||||||||||
Specify the values of a uniform variable for the current program object | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glUniform3f | |||||||||||||||||||||||||
Specify the values of a uniform variable for the current program object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glUniform3i | |||||||||||||||||||||||||
Specify the values of a uniform variable for the current program object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glUniform4f | ||||||||||||||||||||||||||||||
Specify the values of a uniform variable for the current program object | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function glUniform4i | ||||||||||||||||||||||||||||||
Specify the values of a uniform variable for the current program object | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function glUniformMatrix2fv | |||||||||||||||||||||||||
Specify the values of a uniform 2x2 matrix variable for the current program object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glUniformMatrix3fv | |||||||||||||||||||||||||
Specify the values of a uniform 3x3 matrix variable for the current program object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glUniformMatrix4fv | |||||||||||||||||||||||||
Specify the values of a uniform 4x4 matrix variable for the current program object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glUnmapBuffer | ||||||||||
Unmap buffer object | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function glUseProgram | |||||
Installs a program object as part of current rendering state | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glValidateProgram | |||||
Validates a program object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function glVertex2f | |||||||||||||||
Specify a vertex | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glVertex2i | |||||||||||||||
Specify a vertex | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glVertex3f | ||||||||||||||||||||
Specify a vertex | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glVertex4f | |||||||||||||||||||||||||
Specify a vertex | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glVertexAttrib1f | |||||||||||||||
Specifies the value of a generic vertex attribute | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function glVertexAttrib2f | ||||||||||||||||||||
Specifies the values of a generic vertex attribute | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function glVertexAttrib3f | |||||||||||||||||||||||||
Specifies the values of a generic vertex attribute | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function glVertexAttrib4f | ||||||||||||||||||||||||||||||
Specifies the values of a generic vertex attribute | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function glVertexAttrib4Nub | ||||||||||||||||||||||||||||||
Specifies the values of a generic vertex attribute | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function glVertexAttribPointer | |||||||||||||||||||||||||||||||||||
Define an array of generic vertex attribute data | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
|
Function glViewport | |||||||||||||||||||||||||
Set the viewport | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglBufferData | |||||||||||||||||||||||||
Creates and initializes a buffer object's data store | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglBufferSubData | |||||||||||||||||||||||||
Updates a subset of a buffer object's data store. | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglClipPlane | ||||||||||||||||||||||||||||||
Specify a plane against which all geometry is clipped | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglColor1f | |||||
Set the current color (grayscale) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglColorARGB | |||||
Set the current color | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglColorOffset | |||||||||||||||||||||||||
Set color pointer offset within currently bound buffer object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglColorPointer3f | |||||
Define an array of RGB color data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0 and type is GL_FLOAT. |
Function zglColorPointer4b | |||||
Define an array of RGBA color data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0 and type is GL_UNSIGNED_BYTE. |
Function zglColorPointer4f | |||||
Define an array of RGBA color data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0 and type is GL_FLOAT. |
Function zglDeleteBuffer | |||||
Delete buffer object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglDeleteFramebuffer | |||||
Delete framebuffer objects | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglDeleteRenderbuffer | |||||
Delete renderbuffer objects | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglDeleteSampler | |||||
Delete named sampler object | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglDeleteTexture | |||||
Delete texture object. | |||||
Signature | |||||
| |||||
Returns | |||||
| |||||
Description | |||||
Function zglFogAlphaMode | |||||
Specifies the equation to be used to compute the fog alpha color. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is an extension to the regular OpenGL fog feature which is only available if tkopengl is compiled in emulation mode (DX_EMU_FOG / DX_EMU_FIXFXN). When drawing transparent objects, GL_BLEND can be used to fade-out primitives (if fog alpha is 0.0) resp. GL_MULT alpha mode can be used to fade to an alpha relative to the primitive alpha (out_alpha = mix(frag_alpha*fog_alpha, frag_alpha, fog_amount)). |
Function zglFogColor4f | |||||||||||||||||||||||||
Set fog color | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Description | |||||||||||||||||||||||||
Note: OpenGL actually ignores the alpha component which means that fogging can NOT be used to fade out objects. |
Function zglFogDensity | |||||
Specify the fog density | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglFogEnd | |||||
Specify fog far distance | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglFogMode | |||||
Specifies the equation to be used to compute the fog blend factor | |||||
Signature | |||||
| |||||
Arguments | |||||
Function zglFogStart | |||||
Specify fog near distance | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglFrustum | |||||||||||||||||||||||||||||||||||
Multiply the current matrix by a perspective matrix | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
|
Function zglGenBuffer | |||||
Generate buffer object name id | |||||
Signature | |||||
| |||||
Returns | |||||
|
Function zglGenFramebuffer | |||||
Generate framebuffer object names | |||||
Signature | |||||
| |||||
Returns | |||||
|
Function zglGenRenderbuffer | |||||
Generate renderbuffer object names | |||||
Signature | |||||
| |||||
Returns | |||||
|
Function zglGenSampler | |||||
Generate sampler object name | |||||
Signature | |||||
| |||||
Returns | |||||
|
Function zglGenTexture | |||||
Generate texture name. | |||||
Signature | |||||
| |||||
Returns | |||||
| |||||
Description | |||||
Function zglGetActiveUniform | |||
Returns information about an active uniform variable for the specified program object | |||
Signature | |||
Arguments | |||
Returns | |||
|
Function zglGetFloat | ||||||||||
Return the value of a selected parameter | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function zglGetFramebufferAttachmentParameteri | |||||||||||||||||||||||||
Retrieve information about attachments of a bound framebuffer object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Returns | |||||||||||||||||||||||||
|
Function zglGetInteger | ||||||||||
Return the value of a selected parameter | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Function zglGetProgrami | ||||||||||||||||||||
Returns a parameter from a program object | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function zglGetRenderbufferParameteri | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function zglGetShaderi | ||||||||||||||||||||
Returns a parameter from a shader object | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function zglInit2D | |||||||||||||||
Load 2D projection matrix | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
| |||||||||||||||
Description | |||||||||||||||
(0; 0) is located in the top/left corner of the screen |
Function zglInitOrtho | |||||||||||||||
Load orthogonal projection matrix | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
| |||||||||||||||
Description | |||||||||||||||
(0; 0) is located at the center of the screen |
Function zglInitPerspective | |||||||||||||||||||||||||
Load perspective projection matrix | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglLightAmbient4f | ||||||||||||||||||||||||||||||
Set light source ambient color parameter | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightConstantAttenuation | |||||||||||||||
Set light source constant attenuation | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglLightDiffuse4f | ||||||||||||||||||||||||||||||
Set light source diffuse color parameter | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightLinearAttenuation | |||||||||||||||
Set light source linear attenuation | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglLightMaterialAmbient4f | ||||||||||||||||||||||||||||||
Set ambient material color | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightMaterialAmbientAndDiffuse4f | ||||||||||||||||||||||||||||||
Set both ambient and diffuse material colors | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightMaterialDiffuse4f | ||||||||||||||||||||||||||||||
Set diffuse material color | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightMaterialEmission4f | ||||||||||||||||||||||||||||||
Set emissive material color | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightMaterialShininess | |||||||||||||||
Set material shininess | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglLightMaterialSpecular4f | ||||||||||||||||||||||||||||||
Set specular material color | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightModelAmbient4f | |||||||||||||||||||||||||
Set ambient scene color | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglLightModelColorControl | |||||
Configure single color / separate specular color lighting mode. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
When GL_SEPARATE_SPECULAR_COLOR mode is selected, the specular component will be applied (added) after texture mapping. |
Function zglLightModelLocalViewer | |||||
Configure local viewer light model | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglLightModelTwoSide | |||||
Configure two sided light model | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Function zglLightPositionf | ||||||||||||||||||||||||||||||
Set light source position | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightQuadraticAttenuation | |||||||||||||||
Set light source quadratic attenuation | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglLightSpecular4f | ||||||||||||||||||||||||||||||
Set light source specular color parameter | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglLightSpotCutOff | |||||||||||||||
Set spotlight cutoff | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglLightSpotDirectionf | |||||||||||||||||||||||||
Set spotlight direction | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglLightSpotExponent | |||||||||||||||
Set spotlight exponent | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglLoadExtensions | |||
Resolve OpenGL extensions. | |||
Signature | |||
| |||
Description | |||
Must be called after window/screen has been openend if the application wishes to use >v1.1 GL functions (e.g. buffer objects, see zglGenBuffer() )
(note) tkopengl v0.9.9.10+ auto-loads the extensions when a viewport/window is opened |
Function zglMapBuffer | |||||||||||||||||||||||||
Map a buffer object's data store | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglNormalOffset | ||||||||||||||||||||
Set normal pointer offset within currently bound buffer object | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Function zglNormalPointer | |||||
Define an array of normal data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0 and type is GL_FLOAT. |
Function zglPointParameter3f | |||||||||||||||
Specify point parameters | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglReadColorPixel | ||||||||||||||||||||
Read a single pixel from the frame buffer | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function zglReadColorPixelsX | ||||||||||||||||||||||||||||||
Read a line of pixels from the frame buffer | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
|
Function zglReadDepthPixel | ||||||||||||||||||||
Read a single depth value from the depth buffer | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Function zglShaderSource | |||||||||||||||
Replaces the source code in a shader object | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Function zglTexCoordOffset | |||||||||||||||||||||||||
Set texture coordinate pointer offset within currently bound buffer object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglTexCoordPointer1f | |||||
Define an array of texture coordinate data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0 and type is GL_FLOAT. |
Function zglTexCoordPointer2f | |||||
Define an array of texture coordinate data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0 and type is GL_FLOAT. |
Function zglTexEnvColor4f | |||||||||||||||||||||||||
Set texture environment color | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglTexGen4f | |||||||||||||||||||||||||||||||||||
Control the generation of texture coordinates | |||||||||||||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||||||||||||
|
Function zgluLookAt | |
Define a viewing transformation | |
Signature | |
Arguments | |
Description | |
You may pass objects that support the yac array interface (e.g. FloatArray , ListNode , tkmath.Vector3f and so on). |
Function zglVertexOffset | |||||||||||||||||||||||||
Set vertex pointer offset within currently bound buffer object | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Function zglVertexPointer | |||||
Define an array of vertex data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0, type is GL_FLOAT and size is 3. |
Function zglVertexPointer2f | |||||
Define an array of vertex data | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
Note: Stride is assumed to be 0, type is GL_FLOAT and size is 2. |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54