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
|
Full Usage:
ForwardPbrPipeline(?postProcess, ?maxPointLights, ?maxSpotLights, ?shadowAtlasConfig, ?shadowBiasConfig)
Parameters:
PostProcessConfig3D
?maxPointLights : int
?maxSpotLights : int
?shadowAtlasConfig : ShadowAtlasConfig
?shadowBiasConfig : ShadowBiasConfig
Returns: ForwardPbrPipeline
|
|
Mibo