Renderer3D<'Model> Type
A deferred 3D renderer that accumulates commands each frame and executes them through a pluggable IRenderPipeline3D.
Commands are accumulated each frame via the view function into a
RenderBuffer3D, then passed to the pipeline
for execution. The renderer owns the buffer and render target pool lifecycle;
the pipeline owns pass order, shader binding, and lighting math.
Register via Program.withRenderer:
Program.mkProgram init update view
|> Program.withRenderer(fun () -> Renderer3D.create pipeline view)
Constructors
| Constructor |
Description
|
Full Usage:
Renderer3D(view, pipeline, config)
Parameters:
GameContext -> 'Model -> RenderBuffer3D -> unit
pipeline : IRenderPipeline3D
config : Renderer3DConfig
Returns: Renderer3D<'Model>
|
|
Mibo.Raylib