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 = ( RenderListToContext, RenderListToFBO, RectToContext, RectToFBO ) ;

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.