Gorilla.Context.Rendering
Unit Gorilla.Context.Rendering.pasClasses
- TRenderPass = class ( TObject )
- TRenderPasses = class ( {System.Generics.Collections}TDictionary<System.string,Gorilla.Context.Rendering.TRenderPass> )
Records
- record TGorillaFogSettings
- record TRenderContext
Enumerations
- enum TGorillaFogMode = ( fmLinear, fmExp, fmExp2 ) ;
- enum TRenderPassType = ( Pre, Intermediate, Post ) ;
- enum TRenderPassMethod = ( RenderListToContext, RenderListToFBO, RectToContext, RectToFBO ) ;
- enum TRenderPassRendering = ( DefaultRendering, ForwardRendering ) ;
Constants
- const GORILLA_FOG_COLOR_DEFAULT : TAlphaColorF = ;
Mics. types
- type PGorillaFogSettings = pointer to TGorillaFogSettings;
- type PRenderContext = pointer to TRenderContext;
TRenderPassMethod
The render pass method defines what is going to be rendered and where to.
Remarks
RenderListToContext - will render all objects in renderlist with the provided render pass material. The output will be written to the default context FBO. It doesn't matter if you declare and attach an individual FBO in your renderpass, because it will be ignored.
RenderListToFBO - will render all objects in renderlist with the provided render pass material. The output will be written to the FBO of your renderpass.
RectToContext - will render on basis of the latest context FBO or on a attached renderpass output. The output will be written to the default context FBO. It doesn't matter if you declare and attach an individual FBO in your renderpass, because it will be ignored.
RectToFBO - will render on basis of the latest context FBO or on a attached renderpass output. The output will be written to the FBO of your renderpass.
TGorillaFogSettings
TRenderContext
TRenderPass
Ancestors
Members
Fields
- protected FId :
string
- protected FType :
TRenderPassType
- protected FMethod :
TRenderPassMethod
- protected FContext :
TContext3D
- protected FController :
TObject
- protected FFrameBuffer :
TFrameBufferObject
- protected FOldFBO :
Cardinal
- protected FOldViewport :
- protected FOnBeginRendering :
TOnRenderingPass
- protected FOnEndRendering :
TOnRenderingPass
Methods
- public constructor Create ( const AContext : TContext3D; const AController : TObject ) ;
- public destructor Destroy ( ) ;
- protected function GetEnabled ( ) : Boolean ;
- protected procedure SetEnabled ( const AValue : Boolean ) ;
- public function BeginScene ( ) : Boolean ;
- public procedure EndScene ( ) ;
- public function GetIterations ( ) : Integer ;
- public function GetControllerShader ( ) : TObject ;
Properties
TRenderPasses
Ancestors
Members
Fields
Methods
- public constructor Create ( const AContext : TContext3D ) ;
- public destructor Destroy ( ) ;
- protected procedure DoOnValueNotify ( ASender : TObject; const AItem : TRenderPass; AAction : TCollectionNotification ) ;
- public function GetPreProcessingPasses ( ) : TArray<Gorilla.Context.Rendering.TRenderPass> ;
- public function GetPostProcessingPasses ( ) : TArray<Gorilla.Context.Rendering.TRenderPass> ;