Gorilla.Context.Rendering

Unit Gorilla.Context.Rendering.pas

Classes

  • TRenderPass = class ( TObject )
  • TRenderPasses = class ( {System.Generics.Collections}TDictionary<System.string,Gorilla.Context.Rendering.TRenderPass> )

Records

Enumerations

Constants

  • const GORILLA_FOG_COLOR_DEFAULT : TAlphaColorF = ;

Mics. types

  • type PGorillaFogSettings = pointer to TGorillaFogSettings;
  • type PRenderContext = pointer to TRenderContext;

TRenderPassMethod

enum TRenderPassMethod = ( RenderListToFBO, RectToFBO ) ;

The render pass method defines what is going to be rendered and where to.

Remarks

RenderListToFBO - will render all objects in renderlist with the provided render pass material. The output will be written to the FBO of your renderpass.

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.

TRenderPassRenderingProc

enum TRenderPassRenderingProc = ( DefaultRendering, ListRendering ) ;

Especially render passes may need different rendering techniques. So you can choose between: default and list rendering Default rendering uses multiple steps for rendering opaque and translucent elements and combining those afterwards. While list rendering is a simple rendering of all elements in renderlist. No post-processing renderpass will be needed, but this may lead to problems with transparency.