Unit BGRAOpenGLType

📄 Source code

Description

Basic types used with OpenGL

Uses

Overview

Structures

Name Description
Interface IBGLFont Interface for a font drawn on OpenGL canvas
Interface IBGLTexture Interface for a texture in OpenGL (stored in VRAM)
Class TBGLCustomBitmap Abstract RGBA bitmap that can be used with OpenGL by converting it into a texture
Class TBGLCustomFont Abstract class for a font drawn on OpenGL canvas
Class TBGLCustomFrameBuffer Abstract class for a frame buffer in OpenGL
Class TBGLCustomTexture Abstract class for a texture in OpenGL (stored in VRAM)

Functions and Procedures

function GetPowerOfTwo( Value : Integer ) : Integer;
function OrthoProjectionToOpenGL(AMinX,AMinY,AMaxX,AMaxY: Single): TMatrix4D;

Types

TBGLBitmapAny = class of TBGLCustomBitmap;
TBGLTextureAny = class of TBGLCustomTexture;
TBGLTextureHandle = type Pointer;
TFaceCulling = BGRABitmapTypes.TFaceCulling;
TOpenGLBlendMode = (...);
TOpenGLPrimitive = (...);
TOpenGLResampleFilter = (...);
TWaitForGPUOption = (...);

Constants

fcKeepCCW = BGRABitmapTypes.fcKeepCCW;
fcKeepCW = BGRABitmapTypes.fcKeepCW;
fcNone = BGRABitmapTypes.fcNone;

Variables

BGLBitmapFactory: TBGLBitmapAny;
BGLTextureFactory: TBGLTextureAny;

Description

Functions and Procedures

function GetPowerOfTwo( Value : Integer ) : Integer;

This item has no description.

function OrthoProjectionToOpenGL(AMinX,AMinY,AMaxX,AMaxY: Single): TMatrix4D;

This item has no description.

Types

TBGLBitmapAny = class of TBGLCustomBitmap;

This item has no description.

TBGLTextureAny = class of TBGLCustomTexture;

This item has no description.

TBGLTextureHandle = type Pointer;

This item has no description.

TFaceCulling = BGRABitmapTypes.TFaceCulling;

Enumerates the modes of face culling in rendering. Face culling is a technique used to determine which faces of a polygon are visible and should be rendered

TOpenGLBlendMode = (...);

This item has no description.

Values
  • obmNormal
  • obmAdd
  • obmMultiply
TOpenGLPrimitive = (...);

This item has no description.

Values
  • opPoints
  • opLineStrip
  • opLineLoop
  • opLines
  • opTriangleStrip
  • opTriangleFan
  • opTriangles
TOpenGLResampleFilter = (...);

This item has no description.

Values
  • orfBox
  • orfLinear
TWaitForGPUOption = (...);

This item has no description.

Values
  • wfgQueueAllCommands
  • wfgFinishAllCommands

Constants

fcKeepCCW = BGRABitmapTypes.fcKeepCCW;

This item has no description.

fcKeepCW = BGRABitmapTypes.fcKeepCW;

This item has no description.

fcNone = BGRABitmapTypes.fcNone;

This item has no description.

Variables

BGLBitmapFactory: TBGLBitmapAny;

This item has no description.

BGLTextureFactory: TBGLTextureAny;

This item has no description.