Class TBGLCustomLighting
Unit
BGRACanvasGL
Declaration
type TBGLCustomLighting = class(TObject)
Description
Abstract class for lighting with OpenGL
Hierarchy
- TObject
- TBGLCustomLighting
Overview
Fields
Methods
Properties
Description
Fields
Methods
![Public Public](public.gif) |
destructor Destroy; override; |
This item has no description. |
![Public Public](public.gif) |
function AddDirectionalLight(AColor: TColorF; ADirection: TPoint3D): integer; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
function AddPointLight(AColor: TColorF; APosition: TPoint3D; ALinearAttenuation, AQuadraticAttenuation: single): integer; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
function GetAttribVariable(AProgram: LongWord; AName: string): LongWord; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
function GetUniformVariable(AProgram: LongWord; AName: string): LongWord; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
function MakeFragmentShader(ASource: string): LongWord; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
function MakeShaderProgram(AVertexShader, AFragmentShader: LongWord): LongWord; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
function MakeVertexShader(ASource: string): LongWord; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
function RemoveLight(AIndex: integer): boolean; virtual; abstract; |
This item has no description. |
![Protected Protected](protected.gif) |
function GetAmbiantLightF: TColorF; virtual; abstract; |
This item has no description. |
![Protected Protected](protected.gif) |
function GetBuiltInLightingEnabled: boolean; virtual; abstract; |
This item has no description. |
![Protected Protected](protected.gif) |
function GetShader(AName: string): TBGLCustomShader; |
This item has no description. |
![Protected Protected](protected.gif) |
function GetSupportShaders: boolean; virtual; |
This item has no description. |
![Public Public](public.gif) |
procedure BindAttribute(AAttribute: TAttributeVariable); virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure ClearLights; virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure DeleteShaderObject(AShader: LongWord); virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure DeleteShaderProgram(AProgram: LongWord); virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure FreeShaders; |
This item has no description. |
![Public Public](public.gif) |
procedure SetSpecularIndex(AIndex: integer); virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure SetUniformInteger(AVariable: LongWord; const AValue; AElementCount, AComponentCount: integer); virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure SetUniformSingle(AVariable: LongWord; const AValue; AElementCount, AComponentCount: integer); virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure UnbindAttribute(AAttribute: TAttributeVariable); virtual; abstract; |
This item has no description. |
![Public Public](public.gif) |
procedure UseProgram(AProgram: LongWord); virtual; abstract; |
This item has no description. |
![Protected Protected](protected.gif) |
procedure SetAmbiantLightF(AAmbiantLight: TColorF); virtual; abstract; |
This item has no description. |
![Protected Protected](protected.gif) |
procedure SetBuiltInLightingEnabled(AValue: boolean); virtual; abstract; |
This item has no description. |
![Protected Protected](protected.gif) |
procedure SetShader(AName: string; AValue: TBGLCustomShader); |
This item has no description. |
Properties
![Public Public](public.gif) |
property ActiveShader: TBGLCustomShader read GetActiveShader write SetActiveShader; |
This item has no description. |
![Public Public](public.gif) |
property SupportShaders: boolean read GetSupportShaders; |
This item has no description. |