Class TBGLCustomFrameBuffer

Unit

Declaration

type TBGLCustomFrameBuffer = class(TObject)

Description

Abstract class for a frame buffer in OpenGL

Hierarchy

Overview

Fields

Protected FCanvas: pointer;

Methods

Public function MakeTextureAndFree: IBGLTexture; virtual;
Protected function GetHandle: pointer; virtual; abstract;
Protected function GetHeight: integer; virtual; abstract;
Protected function GetMatrix: TAffineMatrix; virtual; abstract;
Protected function GetProjectionMatrix: TMatrix4D; virtual; abstract;
Protected function GetTexture: IBGLTexture; virtual; abstract;
Protected function GetWidth: integer; virtual; abstract;
Public procedure SetCanvas(ACanvas: Pointer);
Public procedure UseOrthoProjection(AMinX,AMinY,AMaxX,AMaxY: single); overload; virtual;
Public procedure UseOrthoProjection; overload; virtual;
Protected procedure SetMatrix(AValue: TAffineMatrix); virtual; abstract;
Protected procedure SetProjectionMatrix(AValue: TMatrix4D); virtual; abstract;

Properties

Public property Handle: pointer read GetHandle;
Public property Height: integer read GetHeight;
Public property Matrix: TAffineMatrix read GetMatrix write SetMatrix;
Public property ProjectionMatrix: TMatrix4D read GetProjectionMatrix write SetProjectionMatrix;
Public property Texture: IBGLTexture read GetTexture;
Public property Width: integer read GetWidth;

Description

Fields

Protected FCanvas: pointer;

This item has no description.

Methods

Public function MakeTextureAndFree: IBGLTexture; virtual;

This item has no description.

Protected function GetHandle: pointer; virtual; abstract;

This item has no description.

Protected function GetHeight: integer; virtual; abstract;

This item has no description.

Protected function GetMatrix: TAffineMatrix; virtual; abstract;

This item has no description.

Protected function GetProjectionMatrix: TMatrix4D; virtual; abstract;

This item has no description.

Protected function GetTexture: IBGLTexture; virtual; abstract;

This item has no description.

Protected function GetWidth: integer; virtual; abstract;

This item has no description.

Public procedure SetCanvas(ACanvas: Pointer);

This item has no description.

Public procedure UseOrthoProjection(AMinX,AMinY,AMaxX,AMaxY: single); overload; virtual;

This item has no description.

Public procedure UseOrthoProjection; overload; virtual;

This item has no description.

Protected procedure SetMatrix(AValue: TAffineMatrix); virtual; abstract;

This item has no description.

Protected procedure SetProjectionMatrix(AValue: TMatrix4D); virtual; abstract;

This item has no description.

Properties

Public property Handle: pointer read GetHandle;

This item has no description.

Public property Height: integer read GetHeight;

This item has no description.

Public property Matrix: TAffineMatrix read GetMatrix write SetMatrix;

for internal use

Public property ProjectionMatrix: TMatrix4D read GetProjectionMatrix write SetProjectionMatrix;

This item has no description.

Public property Texture: IBGLTexture read GetTexture;

This item has no description.

Public property Width: integer read GetWidth;

This item has no description.