Class TBGRAShader3D
Unit
Declaration
type TBGRAShader3D = class(TObject)
Description
Shader for 3D software rendering
Hierarchy
- TObject
- TBGRAShader3D
Overview
Fields
![]() |
FAmbiantLightColor: TColorInt65536; |
![]() |
FAmbiantLightness: integer; |
![]() |
FContext: PBasicLightingContext; |
![]() |
FContextBlock: TMemoryBlockAlign128; |
![]() |
FInt65536ShaderFunc: TInt65536ShaderFunction3D; |
![]() |
FLights: TList; |
![]() |
FOnlyDirectionalLights: boolean; |
![]() |
FShaderFunc: TShaderFunction3D; |
![]() |
FUseAmbiantColor: boolean; |
![]() |
FWhiteMaterial: boolean; |
Methods
Properties
![]() |
property Context: PBasicLightingContext read FContext; |
![]() |
property Int65536ShaderFunction: TInt65536ShaderFunction3D read FInt65536ShaderFunc; |
![]() |
property OnlyDirectionalLights: boolean read FOnlyDirectionalLights; |
![]() |
property ShaderFunction: TShaderFunction3D read FShaderFunc; |
Description
Fields
![]() |
FAmbiantLightColor: TColorInt65536; |
This item has no description. |
![]() |
FAmbiantLightness: integer; |
This item has no description. |
![]() |
FContext: PBasicLightingContext; |
This item has no description. |
![]() |
FContextBlock: TMemoryBlockAlign128; |
This item has no description. |
![]() |
FInt65536ShaderFunc: TInt65536ShaderFunction3D; |
This item has no description. |
![]() |
FLights: TList; |
This item has no description. |
![]() |
FOnlyDirectionalLights: boolean; |
This item has no description. |
![]() |
FShaderFunc: TShaderFunction3D; |
This item has no description. |
![]() |
FUseAmbiantColor: boolean; |
This item has no description. |
![]() |
FWhiteMaterial: boolean; |
This item has no description. |
Methods
![]() |
constructor Create(const AAmbiantLightColorF: TColorF; ALights: TList); |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
function Apply(APosition: TPoint3D_128; ANormal: TPoint3D_128; AColor: TBGRAPixel): TBGRAPixel; |
This item has no description. |
![]() |
function Int65536Apply(APosition: TPoint3D_128; ANormal: TPoint3D_128; AColor: TBGRAPixel): TColorInt65536; |
This item has no description. |
![]() |
function ApplyLightingWithAmbiantLightnessOnly(Context: PSceneLightingContext; Color: TBGRAPixel): TBGRAPixel; |
This item has no description. |
![]() |
function ApplyLightingWithDiffuseAndSpecularColor(Context: PSceneLightingContext; Color: TBGRAPixel): TBGRAPixel; |
This item has no description. |
![]() |
function ApplyLightingWithDiffuseColor(Context: PSceneLightingContext; Color: TBGRAPixel): TBGRAPixel; |
This item has no description. |
![]() |
function ApplyLightingWithLightness(Context: PSceneLightingContext; Color: TBGRAPixel): TBGRAPixel; |
This item has no description. |
![]() |
function ApplyNoLighting(Context: PSceneLightingContext; Color: TBGRAPixel): TBGRAPixel; |
This item has no description. |
![]() |
function Int65536ApplyLightingWithAmbiantLightnessOnly(Context: PSceneLightingContext; Color: TBGRAPixel): TColorInt65536; |
This item has no description. |
![]() |
function Int65536ApplyLightingWithDiffuseAndSpecularColor(Context: PSceneLightingContext; Color: TBGRAPixel): TColorInt65536; |
This item has no description. |
![]() |
function Int65536ApplyLightingWithDiffuseColor(Context: PSceneLightingContext; Color: TBGRAPixel): TColorInt65536; |
This item has no description. |
![]() |
function Int65536ApplyLightingWithLightness(Context: PSceneLightingContext; Color: TBGRAPixel): TColorInt65536; |
This item has no description. |
![]() |
function Int65536ApplyNoLighting(Context: PSceneLightingContext; Color: TBGRAPixel): TColorInt65536; |
This item has no description. |
![]() |
procedure Prepare(constref ADescription: TFaceRenderingDescription); |
This item has no description. |
![]() |
procedure ComputeDiffuseAndSpecularLight(Context: PSceneLightingContext); inline; |
This item has no description. |
![]() |
procedure ComputeDiffuseLight(Context: PSceneLightingContext); inline; |
This item has no description. |
![]() |
procedure ComputeDiffuseLightness(Context: PSceneLightingContext); inline; |
This item has no description. |
Properties
![]() |
property Context: PBasicLightingContext read FContext; |
This item has no description. |
![]() |
property Int65536ShaderFunction: TInt65536ShaderFunction3D read FInt65536ShaderFunc; |
This item has no description. |
![]() |
property OnlyDirectionalLights: boolean read FOnlyDirectionalLights; |
This item has no description. |
![]() |
property ShaderFunction: TShaderFunction3D read FShaderFunc; |
This item has no description. |