Header menu logo Mibo

ForwardPbrPipeline Type

Refactored Forward PBR pipeline. Eliminates 3x shader variant duplication by using parameterized ShaderVariant structs. No PipelineContext class — all mutable state lives in the object-expression closure.

Implements the same IRenderPipeline3D interface. Swap by changing one line:

 Renderer3D.create (ForwardPbrPipeline()) view

Constructors

Constructor Description

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

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

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

Type something to start searching.