Documentation

OpenGL - Open Dev Kit Documentation

Open Dev Kit Documentation :: OpenGL

OpenGL

Classes

Config
Model Material
Model Mesh Vertex
Model Mesh
Model Animation
Model Node Animation Key Vector 3
Model Node Animation Key Vector 4
Model Node Animation
Model Node
RF Model
model stored in an internal structure for rendering
Free Type Font Glyph
RF Free Type Font
font stored as FreeType 2 data for OpenGL
Font Glyph
RF Font
font images prepared for OpenGL
Shader Data
RF Shader
shader program stored in an OpenGL shader
RF Texture
image(s) stored in an OpenGL texture
Surface
Render Context
Hit Test Result
Renderer

Enumerations

VR System
Texture
Target
Factor
Format
Func
Mode
Type
Cap
Cull Mode
Front Face Mode
Error
Object Param
Tex Parameter
Tex Parameter Filter
Tex Parameter Wrap
Shader Type
Test
Clear Flags
VR Joint

Functions

Create Texture ( Width Integer, Height Integer, Format Format, Clear Boolean, Color Color ) Image*
Creates a blank texture
Get Text Dimensions ( Text String, Font Font*, Wrap Width Float, Scaling 2D Vector, Line Spacing Float, Character Spacing Float ) 2D Vector
Active Texture ( Texture Texture )
Select active texture unit
Attach Shader ( Program Integer, Shader Integer )
Attach a shader object to a program object
Bind Texture ( Target Target, Texture Integer )
Bind a named texture to a texturing target
Blend Func ( S Factor Factor, D Factor Factor )
Specify pixel arithmetic
Clear ( Mask Clear Flags )
Clear buffers to preset values
Clear Color ( Red Float, Green Float, Blue Float, Alpha Float )
Specify clear values for the color buffers
Clear Depth ( Depth Float )
Specify the clear value for the depth buffer
Clear Stencil ( S Integer )
Specify the clear value for the stencil buffer
Color Mask ( Red Boolean, Green Boolean, Blue Boolean, Alpha Boolean )
Enable and disable writing of frame buffer color components
Compile Shader ( Shader Integer )
Compile a shader object
Copy Tex Image 2D ( Target Target, Level Integer, Internal Format Format, X Integer, Y Integer, Width Integer, Height Integer, Border Integer )
Copy pixels into a 2D texture image
Create Program ( ) Integer
Create a program object
Create Shader ( Shader Type Shader Type ) Integer
Create a shader object
Cull Face ( Mode Cull Mode )
Specify whether front- or back-facing polygons can be culled
Delete Program ( Program Integer )
Delete a program object
Delete Shader ( Shader Integer )
Delete a shader object
Delete Textures ( N Integer, Textures Integer )
Delete named textures
Depth Func ( Func Func )
Specify the value used for depth buffer comparisons
Depth Mask ( Flag Boolean )
Enable or disable writing into the depth buffer
Depth Range ( Near Val Float, Far Val Float )
Specify mapping of depth values from normalized device co-ordinates to window coordinates
Disable ( Cap Cap )
Disable server-side GL capabilities
Disable Vertex Attrib Array ( Index Integer )
Disable a generic vertex attribute array
Draw Arrays ( Mode Mode, First Integer, Count Integer )
Render primitives from array data
Enable ( Cap Cap )
Enable server-side GL capabilities
Enable Vertex Attrib Array ( Index Integer )
Enable a generic vertex attribute array
Front Face ( Mode Front Face Mode )
Define front- and back-facing polygons
Get Attrib Location ( Program Integer, Name String ) Integer
Return the location of an attribute variable
Get Error ( ) Error
Return error information
Get Program Info Log ( Program Integer ) String
Return the information log for a program object
Get Shader Info Log ( Shader Integer ) String
Return the information log for a shader object
Get Uniform Location ( Program Integer, Name String ) Integer
Return the location of a uniform variable
Link Program ( Program Integer )
Link a program object
Shader Source ( Shader Integer, Count Integer, String String )
Replace the source code in a shader object
Stencil Func ( Func Func, Ref Integer, Mask Integer )
Set front and back function and reference value for stencil testing
Stencil Mask ( Mask Integer )
Control the front and back writing of individual bits in the stencil planes
Stencil Op ( Sfail Test, Dpfail Test, Dppass Test )
Set front and back stencil test actions
Tex Parameteri ( Target Target, Pname Tex Parameter, Param Integer )
Set texture parameters
Uniform 1f ( Location Integer, V0 Float )
Specify the value of a uniform variable for the current program object
Uniform 1i ( Location Integer, V0 Integer )
Specify the value of a uniform variable for the current program object
Use Program ( Program Integer )
Install a program object as part of current rendering state
Validate Program ( Program Integer )
Validate a program object
Viewport ( X Integer, Y Integer, Width Integer, Height Integer )
Set the viewport

If you think anything is missing, please feel free to: submit documentation feedback on this page