Gl
Q
R
S
T

Gl (gb.opengl)

This class implements all the functions of the OpenGL library. The OpenGL syntax was followed as much as possible, except for the following points:
  • A function that received a C array pointer and its integer count as arguments now receives a Gambas array.
  • Some constants had the same name as an OpenGL method. An underscore was added to their names in order to avoid the naming conflict. These constants are: Gl.ACCUM_, Gl.BITMAP_, Gl.CLEAR_ and Gl.VIEWPORT_.
This class is static.
Constants
ADD
AND
BGR
CCW
CW
EXP
FOG
INT
NOR
ONE
OR
Q
R
RED
RGB
S
SET
T
XOR
Static methods
Accum Operate on the accumulation buffer.
ActiveTexture Select active texture unit.
AlphaFunc Specify the alpha test function.
Begin Delimit the vertices of a primitive or a group of like primitives.
BindFramebufferEXT Bind a framebuffer to a framebuffer target.
BindRenderbufferEXT Bind a renderbuffer to a renderbuffer target.
BindTexture Bind a named texture to a texturing target.
BlendFunc Specify pixel arithmetic.
CallList Execute a display list.
CallLists Execute a list of display lists.
CheckExtensions Return if some OpenGL extensions are present.
CheckFramebufferStatusEXT Check the completeness status of a framebuffer.
Clear Clear buffers to preset values.
ClearAccum Specify clear values for the accumulation buffer.
ClearColor Specify clear values for the color buffers.
ClearDepth Specify the clear value for the depth buffer.
ClearIndex Specify the clear value for the color index buffers.
ClearStencil Specify the clear value for the stencil buffer.
ClipPlane Specify a plane against which all geometry is clipped.
Color3f Set the current color.
Color3i Set the current color.
Color4f Set the current color.
Color4i Set the current color.
ColorMask For Gl.ColorMaski, specifies the index of the draw buffer whose color mask to set.
ColorMaterial Cause a material color to track the current color.
Colorfv Set the current color.
Coloriv Set the current color.
CopyPixels Copy pixels in the frame buffer.
CopyTexImage1D Copy pixels into a 1D texture image.
CopyTexImage2D Copy pixels into a 2D texture image.
CullFace Specify whether front- or back-facing facets can be culled.
DeleteFramebuffersEXT Delete framebuffer objects.
DeleteLists Delete a contiguous group of display lists.
DeleteRenderbuffersEXT Delete renderbuffer objects.
DeleteTextures Delete named textures.
DepthFunc Specify the value used for depth buffer comparisons.
DepthMask Enable or disable writing into the depth buffer.
DepthRange Specify mapping of depth values from normalized device coordinates to window coordinates.
Disable Enable or disable server-side GL capabilities.
DrawBuffer Specify which color buffers are to be drawn into.
DrawPixels Write a block of pixels to the frame buffer.
EdgeFlag Flag edges as either boundary or nonboundary.
Enable Enable or disable server-side GL capabilities.
End Delimit the vertices of a primitive or a group of like primitives.
EndList Create or replace a display list.
EvalCoord1f Evaluate enabled one- and two-dimensional maps.
EvalCoord2f Evaluate enabled one- and two-dimensional maps.
EvalCoord2fv Evaluate enabled one- and two-dimensional maps.
EvalMesh1 Compute a one- or two-dimensional grid of points or lines.
EvalMesh2 Compute a one- or two-dimensional grid of points or lines.
EvalPoint1 Generate and evaluate a single point in a mesh.
EvalPoint2 Generate and evaluate a single point in a mesh.
FeedbackBuffer Controls feedback mode.
Finish Block until all GL execution is complete.
Flush Force execution of GL commands in finite time.
Fogf Specify fog parameters.
Fogfv Specify fog parameters.
Fogi Specify fog parameters.
Fogiv Specify fog parameters.
FramebufferRenderbufferEXT Attach a renderbuffer as a logical buffer to the currently bound framebuffer object.
FramebufferTexture1DEXT Attach a level of a texture object as a logical buffer to the currently bound framebuffer object.
FramebufferTexture2DEXT Attach a level of a texture object as a logical buffer to the currently bound framebuffer object.
FramebufferTexture3DEXT Attach a level of a texture object as a logical buffer to the currently bound framebuffer object.
FrontFace Define front- and back-facing polygons.
Frustum Multiply the current matrix by a perspective matrix.
GenFramebuffersEXT Generate framebuffer object names.
GenLists Generate a contiguous set of empty display lists.
GenRenderbuffersEXT Generate renderbuffer object names.
GenTextures Generate texture names.
GenerateMipmapEXT Generate mipmaps for a specified texture target.
GetBooleanv Return the value or values of a selected parameter.
GetClipPlane Return the coefficients of the specified clipping plane.
GetError Return error information.
GetFloatv Return the value or values of a selected parameter.
GetFramebufferAttachmentParameterivEXT Specifies the target of the query operation.
GetIntegerv Return the value or values of a selected parameter.
GetLightfv Return light source parameter values.
GetLightiv Return light source parameter values.
GetMaterialfv Return material parameters.
GetMaterialiv Return material parameters.
GetRenderbufferParameterivEXT Specifies the target of the query operation. target must be Gl.RENDERBUFFER.
GetString Return a string describing the current GL connection.
Hint Specify implementation-specific hints.
IndexMask Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's.
Indexf Set the current color index.
Indexi Set the current color index.
InitNames Initialize the name stack.
IsEnabled Specifies a symbolic constant indicating a GL capability.
IsFramebufferEXT Determine if a name corresponds to a framebuffer object.
IsList Determine if a name corresponds to a display list.
IsRenderbufferEXT Determine if a name corresponds to a renderbuffer object.
IsTexture Determine if a name corresponds to a texture.
LightModelf Set the lighting model parameters.
LightModelfv Set the lighting model parameters.
LightModeli Set the lighting model parameters.
LightModeliv Set the lighting model parameters.
Lightf Set light source parameters.
Lightfv Set light source parameters.
Lighti Set light source parameters.
Lightiv Set light source parameters.
LineStipple Specify the line stipple pattern.
LineWidth Specify the width of rasterized lines.
ListBase Set the display-list base for Gl.CallLists.
LoadIdentity Replace the current matrix with the identity matrix.
LoadMatrixf Replace the current matrix with the specified matrix.
LoadName Load a name onto the name stack.
LogicOp Specify a logical pixel operation for rendering.
Map1f Define a one-dimensional evaluator.
Map2f Define a two-dimensional evaluator.
MapGrid1f Define a one- or two-dimensional mesh.
MapGrid2f Define a one- or two-dimensional mesh.
Materialf Specify material parameters for the lighting model.
Materialfv Specify material parameters for the lighting model.
Materiali Specify material parameters for the lighting model.
Materialiv Specify material parameters for the lighting model.
MatrixMode Specify which matrix is the current matrix.
MultMatrixf Multiply the current matrix with the specified matrix.
MultiTexCoord2f Set the current texture coordinates.
NewList Create or replace a display list.
Normal3f Set the current normal vector.
Normal3fv Set the current normal vector.
Normal3i Set the current normal vector.
Normal3iv Set the current normal vector.
Ortho Multiply the current matrix with an orthographic matrix.
PassThrough Place a marker in the feedback buffer.
PixelStoref Set pixel storage modes.
PixelStorei Set pixel storage modes.
PixelTransferf Set pixel transfer modes.
PixelTransferi Set pixel transfer modes.
PointSize Specify the diameter of rasterized points.
PolygonMode Specifies the polygons that mode applies to. Must be Gl.FRONT_AND_BACK for front- and back-facing polygons.
PolygonOffset Set the scale and units used to calculate depth values.
PopMatrix Push the current matrix stack.
PopName Push and pop the name stack.
PushMatrix Push the current matrix stack.
PushName Push and pop the name stack.
RasterPos2f Specify the raster position for pixel operations.
RasterPos2i Specify the raster position for pixel operations.
RasterPos3f Specify the raster position for pixel operations.
RasterPos3i Specify the raster position for pixel operations.
RasterPos4f Specify the raster position for pixel operations.
RasterPos4i Specify the raster position for pixel operations.
RasterPosf Specify the raster position for pixel operations.
RasterPosfv Specify the raster position for pixel operations.
RasterPosi Specify the raster position for pixel operations.
RasterPosiv Specify the raster position for pixel operations.
ReadBuffer Specifies a color buffer. Accepted values are Gl.FRONT_LEFT, Gl.FRONT_RIGHT, Gl.FRONT, Gl.LEFT, and Gl.RIGHT.
Rectf Specify one vertex of a rectangle.
Recti Specify one vertex of a rectangle.
RenderMode Set rasterization mode.
RenderbufferStorageEXT Establish data storage, format and dimensions of a renderbuffer object's image.
Rotatef Multiply the current matrix by a rotation matrix.
Scalef Multiply the current matrix by a general scaling matrix.
Scissor Define the scissor box.
SelectBuffer Establish a buffer for selection mode values.
ShadeModel Specifies a symbolic value representing a shading technique. Accepted values are Gl.FLAT and Gl.SMOOTH. The initial value is Gl.SMOOTH.
StencilFunc Set front and back function and reference value for stencil testing.
StencilMask Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
StencilOp Set front and back stencil test actions.
TexCoord1f Set the current texture coordinates.
TexCoord1i Set the current texture coordinates.
TexCoord2f Set the current texture coordinates.
TexCoord2i Set the current texture coordinates.
TexCoord3f Set the current texture coordinates.
TexCoord3i Set the current texture coordinates.
TexCoord4f Set the current texture coordinates.
TexCoord4i Set the current texture coordinates.
TexCoordf Set the current texture coordinates.
TexCoordi Set the current texture coordinates.
TexEnvf Set texture environment parameters.
TexEnvfv Set texture environment parameters.
TexEnvi Set texture environment parameters.
TexEnviv Set texture environment parameters.
TexGeni Specifies a texture coordinate. Must be one of Gl.S, Gl.T, Gl.R, or Gl.Q.
TexImage1D Specify a one-dimensional texture image.
TexImage2D Specify a two-dimensional texture image.
TexParameterf Set texture parameters.
TexParameterfv Set texture parameters.
TexParameteri Set texture parameters.
TexParameteriv Set texture parameters.
TexSubImage1D
Since 3.6
Specify a one-dimensional texture subimage.
TexSubImage2D
Since 3.6
Specify a two-dimensional texture subimage.
Translatef Multiply the current matrix by a translation matrix.
Vertex2f Specify a vertex.
Vertex2i Specify a vertex.
Vertex3f Specify a vertex.
Vertex3i Specify a vertex.
Vertex4f Specify a vertex.
Vertex4i Specify a vertex.
Vertexf Specify a vertex.
Vertexfv Specify a vertex.
Vertexi Specify a vertex.
Vertexiv Specify a vertex.
Viewport Set the viewport.

AltStyle によって変換されたページ (->オリジナル) /