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

Class TOpenGL_Preview

Unit

OpenGL_Preview

Declaration

type TOpenGL_Preview = class(TOpenGL)

Description

Specialized class for rendering the previews of the main-form. The previews are rendered row-to-column wise.

Fields

NameDescription
Columns number of columns
TexCount count of textures to preview
VertexQuad array of TVertexQuad which holds the data on each quad which should be rendered

Methods

Overview

constructor Create( const OGL_Info : TOpenGL_Info );
destructor Destroy; override;
procedure Free;
procedure GenerateVertexCoordinates;
procedure LoadTexturesIntoMemory( FileName : string );
procedure Render( DeltaTime : longint ); override;

Description

constructor Create( const OGL_Info : TOpenGL_Info );

Constructor

destructor Destroy; override;

Destructor

procedure Free;

Standard .Free procedure

procedure GenerateVertexCoordinates;

generates the coordinates for each quad based on Columns.

procedure LoadTexturesIntoMemory( FileName : string );

load & initialise textures

procedure Render( DeltaTime : longint ); override;

Overwritten render procedure. Renders the data stored in the VertexQuad array.

Properties

None.


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