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
|
destructor Destroy; override; |
This item has no description. |
|
function AddDirectionalLight(AColor: TColorF; ADirection: TPoint3D): integer; virtual; abstract; |
This item has no description. |
|
function AddPointLight(AColor: TColorF; APosition: TPoint3D; ALinearAttenuation, AQuadraticAttenuation: single): integer; virtual; abstract; |
This item has no description. |
|
function GetAttribVariable(AProgram: LongWord; AName: string): LongWord; virtual; abstract; |
This item has no description. |
|
function GetUniformVariable(AProgram: LongWord; AName: string): LongWord; virtual; abstract; |
This item has no description. |
|
function MakeFragmentShader(ASource: string): LongWord; virtual; abstract; |
This item has no description. |
|
function MakeShaderProgram(AVertexShader, AFragmentShader: LongWord): LongWord; virtual; abstract; |
This item has no description. |
|
function MakeVertexShader(ASource: string): LongWord; virtual; abstract; |
This item has no description. |
|
function RemoveLight(AIndex: integer): boolean; virtual; abstract; |
This item has no description. |
|
function GetAmbiantLightF: TColorF; virtual; abstract; |
This item has no description. |
|
function GetBuiltInLightingEnabled: boolean; virtual; abstract; |
This item has no description. |
|
function GetShader(AName: string): TBGLCustomShader; |
This item has no description. |
|
function GetSupportShaders: boolean; virtual; |
This item has no description. |
|
procedure BindAttribute(AAttribute: TAttributeVariable); virtual; abstract; |
This item has no description. |
|
procedure ClearLights; virtual; abstract; |
This item has no description. |
|
procedure DeleteShaderObject(AShader: LongWord); virtual; abstract; |
This item has no description. |
|
procedure DeleteShaderProgram(AProgram: LongWord); virtual; abstract; |
This item has no description. |
|
procedure FreeShaders; |
This item has no description. |
|
procedure SetSpecularIndex(AIndex: integer); virtual; abstract; |
This item has no description. |
|
procedure SetUniformInteger(AVariable: LongWord; const AValue; AElementCount, AComponentCount: integer); virtual; abstract; |
This item has no description. |
|
procedure SetUniformSingle(AVariable: LongWord; const AValue; AElementCount, AComponentCount: integer); virtual; abstract; |
This item has no description. |
|
procedure UnbindAttribute(AAttribute: TAttributeVariable); virtual; abstract; |
This item has no description. |
|
procedure UseProgram(AProgram: LongWord); virtual; abstract; |
This item has no description. |
|
procedure SetAmbiantLightF(AAmbiantLight: TColorF); virtual; abstract; |
This item has no description. |
|
procedure SetBuiltInLightingEnabled(AValue: boolean); virtual; abstract; |
This item has no description. |
|
procedure SetShader(AName: string; AValue: TBGLCustomShader); |
This item has no description. |
Properties
|
property ActiveShader: TBGLCustomShader read GetActiveShader write SetActiveShader; |
This item has no description. |
|
property SupportShaders: boolean read GetSupportShaders; |
This item has no description. |