UNITS
CLASSES, INTERFACES, OBJECTS
TYPES
VARIABLES
CONSTANTS
FUNCTIONS, PROCEDURES
IDENTIFIERS

Unit OpenGL_Base

Description

OpenGL_Base.pas contains an abstract implementation of an OpenGL based renderer. Only basic things, like creating a rendering context, loading algorithms for textures and a DeltaTime based rendering update, are included. More specialised sub-classes are used for rendering the actual data.

Constants

None.

Variables

None.

Types

NameDescription
TOpenGL_Info record which stores the desired properties for the OpenGL rendering context.

Functions and procedures

Overview

procedure glBindTexture(target: GLenum; texture: GLuint); stdcall; external opengl32;
procedure glGenTextures(n: GLsizei; var textures: GLuint); stdcall; external opengl32;

Description

procedure glBindTexture(target: GLenum; texture: GLuint); stdcall; external opengl32;

Binds a texture. Imported from OpenGL32.dll

procedure glGenTextures(n: GLsizei; var textures: GLuint); stdcall; external opengl32;

Generates texture ids. Imported from OpenGL32.dll

Classes, interfaces and objects

NameDescription
Class TOpenGL This class provides the basic functionality for a small OpenGL based renderer, like setting up the rendering context, loading textures and providing a DeltaTime based rendering call.

Author

Jesco Topp <jesco@users.sourceforge.net>

Created

January 2002

Last modification

under construction


Generated by pasdoc 0.6.20 on Wed 20 Mar 2002 20:59:34