Header menu logo Mibo

ForwardPbrPipeline Type

The default raylib 3D forward PBR pipeline: a thin ForwardPipelineBase that inherits the camera/light/shadow gather and forward-pass orchestration unchanged, using the base's default Cook-Torrance PBR ForwardPipelineBase.Shade.

Registered via:

 Renderer3D.create (ForwardPbrPipeline()) view

To plug a different shading strategy (toon, cel, custom), build an object expression over ForwardPipelineBase and override Shade — the scene gather, shadow pass, and forward-pass dispatch are inherited:

 let toon =
   { new ForwardPipelineBase() with
       override _.Shade(frame, activeEffect, &currentCamera, draw) = ... }

Constructors

Constructor Description

ForwardPbrPipeline(?maxPointLights, ?maxSpotLights, ?shadowAtlasConfig, ?shadowBiasConfig)

Full Usage: ForwardPbrPipeline(?maxPointLights, ?maxSpotLights, ?shadowAtlasConfig, ?shadowBiasConfig)

Parameters:
Returns: ForwardPbrPipeline
?maxPointLights : int
?maxSpotLights : int
?shadowAtlasConfig : ShadowAtlasConfig
?shadowBiasConfig : ShadowBiasConfig
Returns: ForwardPbrPipeline

Type something to start searching.