Class TBGLRenderer3D

Unit

Declaration

type TBGLRenderer3D = class(TCustomRenderer3D)

Description

Renderer of 3D scenes using OpenGL

Hierarchy

Overview

Fields

Protected FAddZ: single;
Protected FAmbiantLight: TColorF;
Protected FBGRAShader: TBGRAShader3D;
Protected FCanvas: TBGLCustomCanvas;
Protected FFactorZ: single;
Protected FFar: single;
Protected FGlobalScale: single;
Protected FHasZBuffer: Boolean;
Protected FLightingGL: TBGLLighting3D;
Protected FLights: TList;
Protected FOldCulling: TFaceCulling;
Protected FOldMatrix: TAffineMatrix;
Protected FOldProjection: TMatrix4D;
Protected FOptions: TRenderingOptions;
Protected FProjectionMatrix: TMatrix4D;
Protected FShadedColors: array of TBGRAPixel;
Protected FShadedColorsF: array of TColorF;
Protected FShader: TBGLCustomShader;
Protected FShaderWithTexture: TBGLCustomShader;

Methods

Public constructor Create(ACanvas: TBGLCustomCanvas; AScene: TBGRAScene3D; AFar: single);
Public destructor Destroy; override;
Public function RenderFace(var ADescription: TFaceRenderingDescription; AComputeCoordinate: TComputeProjectionFunc): boolean; override;
Protected function GetGlobalScale: single; override;
Protected function GetHandlesFaceCulling: boolean; override;
Protected function GetHandlesNearClipping: boolean; override;
Protected function GetHasZBuffer: boolean; override;
Protected function GetSurfaceHeight: integer; override;
Protected function GetSurfaceWidth: integer; override;
Protected procedure InitLighting(AUseOpenGLBuiltInLighting: boolean);
Protected procedure SetProjection(const AValue: TProjection3D); override;

Properties

Public property Canvas: TBGLCustomCanvas read FCanvas;

Description

Fields

Protected FAddZ: single;

This item has no description.

Protected FAmbiantLight: TColorF;

This item has no description.

Protected FBGRAShader: TBGRAShader3D;

This item has no description.

Protected FCanvas: TBGLCustomCanvas;

This item has no description.

Protected FFactorZ: single;

This item has no description.

Protected FFar: single;

This item has no description.

Protected FGlobalScale: single;

This item has no description.

Protected FHasZBuffer: Boolean;

This item has no description.

Protected FLightingGL: TBGLLighting3D;

This item has no description.

Protected FLights: TList;

This item has no description.

Protected FOldCulling: TFaceCulling;

This item has no description.

Protected FOldMatrix: TAffineMatrix;

This item has no description.

Protected FOldProjection: TMatrix4D;

This item has no description.

Protected FOptions: TRenderingOptions;

This item has no description.

Protected FProjectionMatrix: TMatrix4D;

This item has no description.

Protected FShadedColors: array of TBGRAPixel;

This item has no description.

Protected FShadedColorsF: array of TColorF;

This item has no description.

Protected FShader: TBGLCustomShader;

This item has no description.

Protected FShaderWithTexture: TBGLCustomShader;

This item has no description.

Methods

Public constructor Create(ACanvas: TBGLCustomCanvas; AScene: TBGRAScene3D; AFar: single);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function RenderFace(var ADescription: TFaceRenderingDescription; AComputeCoordinate: TComputeProjectionFunc): boolean; override;

This item has no description.

Protected function GetGlobalScale: single; override;

This item has no description.

Protected function GetHandlesFaceCulling: boolean; override;

This item has no description.

Protected function GetHandlesNearClipping: boolean; override;

This item has no description.

Protected function GetHasZBuffer: boolean; override;

This item has no description.

Protected function GetSurfaceHeight: integer; override;

This item has no description.

Protected function GetSurfaceWidth: integer; override;

This item has no description.

Protected procedure InitLighting(AUseOpenGLBuiltInLighting: boolean);

This item has no description.

Protected procedure SetProjection(const AValue: TProjection3D); override;

This item has no description.

Properties

Public property Canvas: TBGLCustomCanvas read FCanvas;

This item has no description.