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.
None.
None.
Name | Description |
---|---|
TOpenGL_Info | record which stores the desired properties for the OpenGL rendering context. |
procedure glBindTexture(target: GLenum; texture: GLuint); stdcall; external opengl32; |
procedure glGenTextures(n: GLsizei; var textures: GLuint); stdcall; external opengl32; |
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
Name | Description |
---|---|
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. |
Jesco Topp <jesco@users.sourceforge.net
>
January 2002
under construction