Gorilla.Context
Unit Gorilla.Context.pasClasses
- TContext3DHack = class ( TInterfacedPersistent )
- TGorillaContext = class ( TContext3D )
Constants
- const SFailedContextInitialization : string = "Failed to initialize context: %%s";
- const SFailedTextureInitialization : string = "Failed to initialize texture: %%s";
Mics. types
- type TGorillaContextClass = class of TGorillaContext;
TContext3DHack
The TContext3DHack is a helper class for accessing private fields needed for overwriting FMX core functionality.
Ancestors
Members
Fields
- public FContextCount :
Integer
- public FSaveStates :
TList<Gorilla.Context.TContext3DHack.TContextStates>
- public FGlobalBeginSceneCount :
Integer
- public FChangeStateCount :
Integer
- public FChangeShaderCount :
Integer
- public FFPS :
Double
- public FRenderTime :
Double
- public FBeginTime :
Double
- public FEndTime :
Double
- public FTimerService :
IFMXTimerService
- public FFrameCount :
Integer
- public FCurrentContext :
TContext3D
- public FCurrentStates :
TContext3DHack.TStatesArray
- public FCurrentVertexShader :
TContextShader
- public FCurrentPixelShader :
TContextShader
- public FCurrentOpacity :
Single
- public FCurrentMaterial :
TMaterial
- public FCurrentMaterialClass :
TMaterialClass
- public FCurrentFormat :
TVertexFormats
- public FCurrentScissorRect :
TRect
- public FBeginSceneCount :
Integer
- public FRecalcScreenMatrix :
Boolean
- public FRecalcProjectionMatrix :
Boolean
- public FScreenMatrix :
TMatrix3D
- public FProjectionMatrix :
TMatrix3D
- public FInvScreenMatrix :
TMatrix3D
- public FInvProjectionMatrix :
TMatrix3D
- public FCenterOffset :
TPosition
- public FParent :
TWindowHandle
- public FWidth :
Integer
- public FHeight :
Integer
- public FScale :
Single
- public FTexture :
TTexture
- public FLights :
TLightDescriptionList
- public FMultisample :
TMultisample
- public FDepthStencil :
Boolean
- public FCurrentMatrix :
TMatrix3D
- public FCurrentCameraMatrix :
TMatrix3D
- public FCurrentCameraInvMatrix :
TMatrix3D
- public FCurrentAngleOfView :
Single
- public FDefaultMaterial :
TMaterial
- public FRenderToMatrix :
TMatrix3D
Methods
TGorillaContext
Ancestors
Members
Fields
- protected FExtensions :
TExtensions
- protected FIndexBufferSupport :
TContext3D.TIndexBufferSupport
- protected FDefaultBlendingDetected :
Boolean
- protected FDefaultBlending :
TBlendSetting
- protected FPrograms :
TList<Gorilla.Context.Shader.TShaderProgram>
- protected FCurrentProgram :
TShaderProgram
- protected FOnError :
TGorillaOnContextError
- protected FMaxDrawBuffers :
Integer
- protected FMaxVaryingComponents :
Integer
- protected FMaxVaryingVectors :
Integer
- protected FDefaultFrameBuf :
TFrameBufferObject
- protected FDefaultMSFrameBuf :
TFrameBufferObject
- protected FSupportMS :
Boolean
- protected FTranslucentBuf :
TFrameBufferObject
- protected FTranslucentRendering :
Boolean
- protected FTranslucentDistance :
Single
- protected FBlendingBuffers :
TBlendSettings
- protected FSmoothTargets :
TSmoothTargets
- protected FOldViewport :
TGorillaContextSize
- protected FOriginalCameraMatrix :
TMatrix3D
- protected FBoundary :
TBoundingBox
- protected FFrustumBox :
TBoundingBox
- protected FFrustum :
TGorillaFrustum
- protected FShaderLights :
TShaderLightList
- protected FFog :
TGorillaFogSettings
- protected FActivity :
Boolean
- protected FPasses :
TRenderPasses
- protected FCurrentPass :
TRenderPass
- protected FIntermediatePasses :
TRenderPassList
- protected FRenderPassStack :
TStack<Gorilla.Context.Rendering.TRenderPass>
- protected FFBOStack :
TStack<Gorilla.Context.Buffers.TFrameBufferObject>
- protected FDefaultBufferFallbackBind :
Boolean
- protected FCurrentCache :
TMeshBufferObject
- protected FInstanceVAO :
TBufferObject
- protected FInstanceCount :
Integer
- protected FCurrentLayeredMaterial :
TObject
- protected FClippingPlanes :
- protected FPointOrigin :
Integer
- protected FPointThreshold :
Single
- protected FPointSizeMin :
Single
- protected FPointSizeMax :
Single
- protected FMultipleSetContextState :
Integer
- public RaiseShaderCompileException :
Boolean
- public InDesignTime :
Boolean
Methods
- protected constructor CreateFromTexture ( const ATexture : TTexture; const AMultisample : TMultisample; const ADepthStencil : Boolean ) ;
- protected constructor CreateFromWindow ( const AParent : TWindowHandle; const AWidth : Integer; const AHeight : Integer; const AMultisample : TMultisample; const ADepthStencil : Boolean ) ;
- public destructor Destroy ( ) ;
- public function PlatformClass ( ) : TGorillaContextClass ; class inline;
- protected procedure DoOnShaderProgramNotify ( ASender : TObject; const AItem : TShaderProgram; AAction : TCollectionNotification ) ; class virtual;
- protected function GetExtensions ( ) : TExtensions ; static;
- protected procedure OutputInfo ( const APrefix : string; const AProgram : TShaderProgram; const ATexture : TTexture; const ATexIdx : Integer = $FFFFFFFF ) ; class virtual;
- protected function BuildShader ( AType : Integer; const ACode : TContextShaderCode ) : Integer ; class virtual;
- protected function FindProgram ( const VS : TContextShader; const GS : TContextShader; const PS : TContextShader ) : TShaderProgram ; class virtual;
- protected procedure UseProgram ( const VS : TContextShader; const GS : TContextShader; const PS : TContextShader ) ; class overload virtual;
- protected function GetTextureIndexByName ( const AName : string ) : Integer ; class virtual;
- protected procedure InitContext ( ) ; override;
- protected procedure DestroyPrograms ( ) ; class virtual;
- protected procedure CreateSharedContext ( ) ; class abstract virtual;
- protected procedure DestroySharedContext ( ) ; class abstract virtual;
- protected procedure InitializeInstanceVAO ( ) ; virtual;
- protected procedure FinalizeInstanceVAO ( ) ; virtual;
- protected procedure DoResize ( ) ; override;
- protected procedure DoFreeBuffer ( ) ; override;
- protected procedure DoSaveBitmap ( const ABmp : TBitmap; const APath : string ) ; virtual;
- protected function DoPassProcessing ( const AType : TRenderPassType; const ARenderContext : PRenderContext ) : Boolean ; virtual;
- protected function DoBeginScene ( ) : Boolean ; override;
- protected procedure DoEndScene ( ) ; override;
- protected function DoBeginSceneIntermediate ( ) : Boolean ; virtual;
- protected procedure DoDrawPrimitives ( const AKind : TPrimitivesKind; const Vertices : Pointer; const Indices : Pointer; const VertexDeclaration : TVertexDeclaration; const VertexSize : Integer; const VertexCount : Integer; const IndexSize : Integer; const IndexCount : Integer ) ; override;
- protected procedure DoDrawPrimitivesEx ( const AKind : TGorillaPrimitivesKind; const Vertices : Pointer; const Indices : Pointer; const VertexDeclaration : TVertexDeclaration; const VertexSize : Integer; const VertexCount : Integer; const IndexSize : Integer; const IndexCount : Integer ) ; virtual;
- protected procedure ApplyShaderMaterial ( const Material : TMaterial ) ; virtual;
- protected procedure ResetShaderMaterial ( const Material : TMaterial ) ; virtual;
- protected procedure DoSetContextStates ( AStates : TFMXContextStates ) ; abstract virtual;
- protected procedure DoClearEx ( const ATarget : TRenderTargets; const AColor : TAlphaColor; const ADepth : Single; const AStencil : Cardinal ) ; abstract virtual;
- protected procedure DoClearBufferFloat ( ABuf : Integer; APtr : PSingle ) ; abstract virtual;
- protected function GetMemoryBarrierBitValue ( ABit : TMemoryBarrierFlag ) : Cardinal ; abstract virtual;
- protected function GetMemoryBarrierValue ( ABits : TMemoryBarrierFlags ) : Cardinal ; virtual;
- protected function GetGlobalBlending ( ) : TBlendSetting ; virtual;
- protected procedure SetGlobalBlending ( const AValue : TBlendSetting ) ; abstract virtual;
- protected function GetBlendings ( ) : TBlendSettings ; virtual;
- protected procedure SetBlendings ( const AValue : TBlendSettings ) ; virtual;
- protected function GetBlendingByIndex ( AIndex : Cardinal ) : TBlendSetting ; virtual;
- protected procedure SetBlendingByIndex ( AIndex : Cardinal; const AValue : TBlendSetting ) ; abstract virtual;
- protected procedure DoSetTwoSidedRendering ( AFrontFaceFail : TStencilOpEx; AFrontFaceZFail : TStencilOpEx; AFrontFaceZPass : TStencilOpEx; ABackFaceFail : TStencilOpEx; ABackFaceZFail : TStencilOpEx; ABackFaceZPass : TStencilOpEx; AFrontStencilMask : Cardinal = $FF ; ABackStencilMask : Cardinal = $FF ) ; abstract virtual;
- protected procedure DoSetPolygonOffsetFill ( const AMode : TPolygonOffsetFill; AFactor : Single = 0 ; AUnits : Single = 100 ) ; abstract virtual;
- protected procedure DoSetSmoothMode ( const ASetting : TSmoothSetting ) ; abstract virtual;
- protected procedure DoSetPointSprites ( const AEnabled : Boolean ) ; abstract virtual;
- protected procedure DoSetPointSpriteTextureMode ( ) ; abstract virtual;
- protected function DoBitmapToTexture ( const Bitmap : TBitmap ) : TTexture ; class override;
- protected procedure DoSetShaders ( const VertexShader : TContextShader; const PixelShader : TContextShader ) ; overload override;
- protected procedure DoSetShaders ( const VertexShader : TContextShader; const GeometryShader : TContextShader; const PixelShader : TContextShader ) ; overload;
- protected procedure DoSetShaderVariable ( const Name : string; const Matrix : TMatrix3D ) ; overload override;
- protected procedure DoSetShaderVariableMatrix ( const AName : string; const AMatrix : TMatrix3D ) ; abstract overload virtual;
- protected procedure DoSetShaderVariableInt ( const AName : string; const AData : array of Integer ) ; abstract virtual;
- protected procedure DoSetShaderVariableArrayOfStruct ( const AName : string; const AType : PTypeInfo; const ACount : Integer; var AData : Pointer ) ; virtual;
- protected function GetIndexBufferSupport ( ) : TContext3D.TIndexBufferSupport ; override;
- protected function IsDesignTime ( ) : Boolean ; class;
- protected procedure PlatformSetTextureFiltering ( const ATexture : TTexture; AStyles : TTextureStyles; ATextureKind : Cardinal; AInternalFormat : Cardinal ) ; class abstract virtual;
- protected procedure PlatformSetPixelState ( AWidth : Integer; AHeight : Integer; ADepth : Integer; ABytesPerPixel : Integer; APitch : Integer = $0 ) ; class abstract virtual;
- protected procedure PlatformUnsetPixelState ( ) ; class abstract virtual;
- protected function PlatformIsContextAvailable ( ) : Boolean ; class abstract virtual;
- protected function PlatformGetVendorName ( ) : string ; class abstract virtual;
- protected function PlatformGetRendererName
(
)
: string
;
class abstract virtual;
Request OpenGL renderer information string.
- protected function PlatformGetVersion
(
)
: string
;
class abstract virtual;
Request OpenGL version string.
- protected function PlatformGetExtensionString
(
)
: string
;
class abstract virtual;
Request OpenGL extensions string.
- protected function PlatformHasAnyErrors
(
)
: Boolean
;
class abstract overload virtual;
Checks if any error occurred in OpenGL.
- protected function PlatformHasAnyErrors ( out AError : NativeInt ) : Boolean ; class abstract overload virtual;
- protected function PlatformGetShaderArch ( ) : TContextShaderArch ; class abstract virtual;
- protected function PlatformPixelFormat ( ) : TPixelFormat ; class abstract virtual;
- protected function PlatformMaxTextureSize ( ) : Integer ; class abstract virtual;
- protected function PlatformMaxTexture3DSize ( ) : Integer ; class abstract virtual;
- protected function PlatformTextureUnitCount ( ) : Integer ; class abstract virtual;
- protected function PlatformMaxTextureImageUnits ( ) : Integer ; class abstract virtual;
- protected function PlatformMaxVertexShaderUniformBlocks ( ) : Integer ; class abstract virtual;
- protected function PlatformMaxFragmentShaderUniformBlocks ( ) : Integer ; class abstract virtual;
- protected function PlatformMaxUniformBlockSize ( ) : Integer ; class abstract virtual;
- protected function PlatformMaxDrawBuffers ( ) : Integer ; class abstract virtual;
- protected function PlatformMaxLightCount ( ) : Integer ; class abstract virtual;
- protected function PlatformStyle ( ) : TContextStyles ; class abstract virtual;
- protected function PlatformTextureCompressionAllowed ( ) : Boolean ; class abstract virtual;
- public procedure DoSetTextureFiltering ( const ATexture : TTexture; AStyles : TTextureStyles; ATextureKind : Cardinal; AInternalFormat : Cardinal ) ; static;
- public procedure SetPixelState ( AWidth : Integer; AHeight : Integer; ADepth : Integer; ABytesPerPixel : Integer; APitch : Integer = $0 ) ; static;
- public procedure UnsetPixelState ( ) ; static;
- public function IsContextAvailable ( ) : Boolean ; static;
- public function TextureCompressionAllowed ( ) : Boolean ; class virtual;
- public function GetVendorName
(
)
: string
;
static;
Request OpenGL vendor information string.
- public function GetRendererName
(
)
: string
;
static;
Request OpenGL renderer information string.
- public function GetVersion
(
)
: string
;
static;
Request OpenGL version string.
- public function GetExtensionString
(
)
: string
;
static;
Request OpenGL extensions string.
- public function HasAnyErrors
(
)
: Boolean
;
static overload;
Checks if any error occurred in OpenGL.
- public function HasAnyErrors ( out AError : NativeInt ) : Boolean ; static overload;
- public function GetShaderArch ( ) : TContextShaderArch ; static;
- public function GetCurrentProgram ( ) : TShaderProgram ; class virtual;
- public function GetProgram ( const VS : TContextShader; const PS : TContextShader ) : TShaderProgram ; virtual;
- public procedure RemoveProgram ( const AShaderProgram : TShaderProgram ) ; overload virtual;
- public procedure RemoveProgram ( const VS : TContextShader; const PS : TContextShader ) ; overload virtual;
- public procedure SetShaders ( const VertexShader : TContextShader; const GeometryShader : TContextShader; const PixelShader : TContextShader ) ; overload virtual;
- public function PixelFormat ( ) : TPixelFormat ; class override;
- public function MaxTextureSize ( ) : Integer ; class override;
- public function MaxTexture3DSize ( ) : Integer ; static;
- public function TextureUnitCount ( ) : Integer ; class override;
- public function MaxTextureImageUnits ( ) : Integer ; static;
- public function MaxVertexShaderUniformBlocks ( ) : Integer ; static;
- public function MaxFragmentShaderUniformBlocks ( ) : Integer ; static;
- public function MaxUniformBlockSize ( ) : Integer ; static;
- public function MaxDrawBuffers ( ) : Integer ; static;
- public function MaxLightCount ( ) : Integer ; class override;
- public function Style ( ) : TContextStyles ; class override;
- public procedure StorePreviousContextSize ( ) ; abstract virtual;
- public procedure SetContextSize ( AXOfs : Integer; AYOfs : Integer; AWidth : Integer; AHeight : Integer ) ; abstract overload virtual;
- public procedure SetContextSize ( const ASize : TGorillaContextSize ) ; abstract overload virtual;
- public procedure GetContextSize ( out ASize : TGorillaContextSize ) ; abstract virtual;
- public procedure SetContextStates ( AStates : TFMXContextStates ) ;
- public function AddLight ( const ALight : TLightDescription ) : Integer ; overload virtual;
- public function AddLight ( const ALight : TGorillaShaderLight ) : Integer ; overload virtual;
- public procedure RemoveLight ( const AIdx : Integer ) ; virtual;
- public procedure ClearLights ( ) ; virtual;
- public procedure SetInstances ( AInstances : Integer; AData : Pointer ) ; virtual;
- public procedure UnsetInstances ( ) ; virtual;
- public function BeginSceneRendering
(
)
: Boolean
;
virtual;
The method initializes the context for rendering and sets up the viewport size. Besides that the canvas will be locked.
- public procedure EndSceneRendering
(
)
;
virtual;
Unlocks canvas and finishes rendering process.
- public procedure BindDefaultBuffer
(
)
;
virtual;
Binds the default framebuffer to the gl context.
- public procedure UnbindDefaultBuffer
(
)
;
virtual;
Unbinds the default framebuffer from gl context.
- public function GetCurrentlyBoundBuffer
(
)
: TFrameBufferObject
;
virtual;
Returns the lately pushed FBO from stack.
- public procedure AttachTextureToDefaultBuffer
(
ATexture :
TTexture; ATarget :
TRenderTarget
)
;
virtual;
Attach a specific texture to default FBO for a specific render target.
- public procedure AttachTextureToTranslucentBuffer
(
ATexture :
TTexture; ATarget :
TRenderTarget
)
;
virtual;
Attach a specific texture to the translucent rendering FBO.
- public procedure LinkDepthBufferToTranslucentBuffer
(
)
;
virtual;
Link depth render buffer to translucent rendering FBO.
- public procedure PushFBO
(
const
AFBO :
TFrameBufferObject
)
;
Push a framebuffer object to stack for correct order of enabling/disabling.
- public function PopFBO
(
)
: TFrameBufferObject
;
Pop latest framebuffer object from stack and return previous FBO as current FBO.
- public function IsTranslucentRendering
(
)
: Boolean
;
Returns if translucent rendering is active.
- public procedure ClearEx ( const ATarget : TRenderTargets; const AColor : TAlphaColor; const ADepth : Single; const AStencil : Cardinal ) ;
- public procedure ClearBufferFloat ( ABuf : Integer; APtr : PSingle ) ;
- public procedure SetMemoryBarrierBits ( ABits : TMemoryBarrierFlags ) ; abstract virtual;
- public procedure SetMemoryBarrierBit ( ABit : TMemoryBarrierFlag = FrameBufferBarrierBit ) ; abstract virtual;
- public procedure FetchMemoryBarrierBit ( ) ; abstract virtual;
- public procedure SetFlatShading ( ) ; abstract virtual;
- public procedure SetSmoothShading ( ) ; abstract virtual;
- public procedure SetShaderVariable ( const AName : string; const AMatrix : TMatrix3D; const AAsMat4 : Boolean ) ;
- public procedure SetShaderVariableInt ( const AName : string; const AValue : array of Integer ) ;
- public procedure SetShaderVariableArrayOfStruct ( const AName : string; const AType : PTypeInfo; const ACount : Integer; const AData : Pointer ) ;
- public procedure DrawScreenRectangle ( const AColor : TAlphaColorF ) ; abstract overload virtual;
- public procedure DrawScreenRectangle ( const AColor : TAlphaColor ) ; overload virtual;
- public procedure SetProjectionMatrix ( AMat : TMatrix3D ) ;
- public procedure BeginOrtho ( const ALeft : Single; const ATop : Single; const ARight : Single; const ABottom : Single; const ANear : Single; const AFar : Single ) ; abstract overload virtual;
- public procedure BeginOrtho ( const AData : TOrthographicData ) ; abstract overload virtual;
- public procedure EndOrtho ( ) ; abstract virtual;
- public function GetCurrentTexture
(
)
: TTexture
;
virtual;
Returns the currently active Color_0 texture from currently active framebuffer object.
- public function GetDefaultTexture
(
)
: TTexture
;
Returns the currently active Color_0 texture from default framebuffer object.
- public function GetTextureByTextureIndex ( const ATextureIndex : Integer ) : Integer ; class abstract virtual;
- public function PreProcessing ( const ARenderContext : PRenderContext ) : Boolean ; virtual;
- public function PostProcessing ( const ARenderContext : PRenderContext ) : Boolean ; virtual;
- public procedure BeginRenderPass
(
const
APass :
TRenderPass
)
;
Sets the supplied render pass as active and returns the previously active render pass.
- public procedure EndRenderPass
(
)
;
Sets the supplied render pass as active.
- public procedure ResetRenderPasses ( ) ;
- public function GetCurrentRenderPass ( ) : TRenderPass ;
- public procedure AddIntermediatePass ( const APass : TRenderPass ) ;
- public procedure ExecuteRenderPass ( const APass : TRenderPass; const ARenderContext : PRenderContext ) ;
- public function GetDefaultBlending ( ) : TBlendSetting ; class abstract virtual;
- public procedure EnableBlendingBuffers
(
)
;
abstract virtual;
Activate global blending independently from render targets.
- public procedure DisableBlendingBuffers
(
)
;
abstract virtual;
Deactivate global blending independently from render targets.
- public procedure SetTwoSidedRendering ( AFrontFaceFail : TStencilOpEx; AFrontFaceZFail : TStencilOpEx; AFrontFaceZPass : TStencilOpEx; ABackFaceFail : TStencilOpEx; ABackFaceZFail : TStencilOpEx; ABackFaceZPass : TStencilOpEx; AFrontStencilMask : Cardinal = $FF ; ABackStencilMask : Cardinal = $FF ) ;
- public procedure SetPolygonOffsetFill ( const AMode : TPolygonOffsetFill; AFactor : Single = 0 ; AUnits : Single = 100 ) ;
- public procedure SetSmoothMode ( const ASetting : TSmoothSetting ) ;
- public procedure SetPointSprites ( const AEnabled : Boolean ) ;
- public procedure SetPointSpriteTextureMode ( ) ;
- public procedure DirectDrawPrimitives
(
const
AKind :
TPrimitivesKind; const
Vertices :
Pointer; const
Indices :
Pointer; const
VertexDeclaration :
TVertexDeclaration; const
VertexSize :
Integer; const
VertexCount :
Integer; const
IndexSize :
Integer; const
IndexCount :
Integer
)
;
overload;
For renderpasses a direct draw method is needed with having a default material detection.
- public procedure DirectDrawPrimitives ( const AKind : TGorillaPrimitivesKind; const Vertices : Pointer; const Indices : Pointer; const VertexDeclaration : TVertexDeclaration; const VertexSize : Integer; const VertexCount : Integer; const IndexSize : Integer; const IndexCount : Integer ) ; overload;
- public function GetSceneBoundary
(
)
: TBoundingBox
;
Get the latest context 3D scene boundary.
- public procedure SetSceneBoundary
(
const
ABounds :
TBoundingBox
)
;
Set the latest context 3D scene boundary.
- public function GetFrustum
(
)
: TGorillaFrustum
;
Returns the latest camera frustum.
- public procedure SetFrustum
(
const
AFrustum :
TGorillaFrustum
)
;
Set the latest context 3D camera frustum.
- public function GetFrustumBoundary
(
)
: TBoundingBox
;
Get the latest context 3D camera frustum boundary box.
- public procedure ActivateClipPlane
(
AIndex :
Integer; const
APlane :
TPlaneF
)
;
Activate a specific clipping plane.
- public procedure DeactivateClipPlane
(
AIndex :
Integer
)
;
Deactivate a specific clipping plane.
- public function GetClippingPlane
(
AIndex :
Integer
)
: PClipPlaneF
;
Get the clipping plane struct for a specific entry (0..7)
- public function IsClippingPlaneActive
(
AIndex :
Integer
)
: Boolean
;
Checks if a specific clipping plane is activated.
- public function ScreenToWorld
(
const
AScreenPos :
TPointF; const
AProjection :
TProjection
)
: TPoint3D
;
Converts 2D screen coordinates into 3D world coordinates. This method is always an approximate on consideration of near/far plane.
Properties
- public OnError : TGorillaOnContextError
- public DefaultFrameBuf : TFrameBufferObjectread FDefaultFrameBuf
- public DefaultMSFrameBuf : TFrameBufferObjectread FDefaultMSFrameBuf
- public TranslucentBuf : TFrameBufferObjectread FTranslucentBuf
- public TranslucentRendering : Boolean
- public TranslucentDistance : Single
- public GlobalBlending : TBlendSetting
- public BlendingBuffer[AIndex] : TBlendSetting
- public Blendings : TBlendSettings
- public SmoothTargets : TSmoothTargetsread FSmoothTargets
- public OriginalCameraMatrix : TMatrix3D
- public ShaderLights : TList<Gorilla.Context.Types.TGorillaShaderLight>
TContext3D provides a "Lights" (TLightDescription) property, but this struct is very limited in settings for light sources, so we introduce parallelly our own list.
read FShaderLights - public Fog : TGorillaFogSettings
- public RenderPasses : TRenderPasses
- public IntermediatePasses : TObjectList<Gorilla.Context.Rendering.TRenderPass>
List of intermediate render pass instances built from render pass controllers.
read FIntermediatePasses - public CurrentPass : TRenderPass
- public CurrentCache : TMeshBufferObject
- public CurrentLayeredMaterial : TObject
- public InstanceCount : Integerread FInstanceCount
- public Extensions : TExtensionsread GetExtensions