Header menu logo Mibo

PipelineConfig Type

Main configuration for the 3D Render Pipeline.

Record fields

Record Field Description

DefaultLighting

Full Usage: DefaultLighting

Field type: LightingState voption

Fallback lighting state if no 'SetLighting' command is issued.

Field type: LightingState voption

LightingBinder

Full Usage: LightingBinder

Field type: (Effect -> Camera -> LightingState -> unit) voption

Optional override for binding light data to shaders

Field type: (Effect -> Camera -> LightingState -> unit) voption

PostProcess

Full Usage: PostProcess

Field type: PostProcessConfig voption

Post-processing configuration.

Field type: PostProcessConfig voption

PreRenderCallback

Full Usage: PreRenderCallback

Field type: (GraphicsDevice -> Camera -> LightingState -> unit) voption

Optional callback to run custom logic before the main render pass (e.g. Depth Pre-Pass, Compute Shaders)

Field type: (GraphicsDevice -> Camera -> LightingState -> unit) voption

ShaderOverrides

Full Usage: ShaderOverrides

Field type: Map<ShaderBase, string>

Map of shader overrides (e.g., replacing the default PBR shader).

Field type: Map<ShaderBase, string>

Shadows

Full Usage: Shadows

Field type: ShadowConfig voption

Shadow subsystem configuration (ValueNone to disable shadows).

Field type: ShadowConfig voption

TileSize

Full Usage: TileSize

Field type: int

Screen-space tile size for CPU Tiled Forward culling (default: 32). Controls the granularity of the light binning grid. Smaller tiles (16) mean fewer lights per tile but more CPU overhead to calculate bins. Larger tiles (32-64) reduce CPU cost but may pass more lights to the pixel shader for non-uniform scenes.

Field type: int

Type something to start searching.