RenderBuffer3D Type
An allocation-friendly buffer for 3D render commands.
Commands are accumulated each frame via RenderBuffer3D.Add, then executed in insertion order by the active pipeline. The pipeline may re-sort internally if needed for state efficiency (e.g., front-to-back, material batching), but the buffer itself does not impose an order. Uses ArrayPool for the backing store to avoid per-frame heap allocations. The buffer is designed to be cleared and repopulated each frame. RenderBuffer3D.Clear resets the count without deallocating the internal array.
Constructors
| Constructor |
Description
|
|
|
Instance members
| Instance member |
Description
|
Adds a render command to the buffer.
|
|
Full Usage:
this.AddAnimatedModel
Parameters:
Animation3DState
transform : Matrix4x4
Modifiers: inline |
raylib animated draw: applies the state's bone pose to its embedded model (raylib's UpdateModelAnimation path), then draws the model.
|
Full Usage:
this.AddAnimatedModelWith
Parameters:
Animation3DState
transform : Matrix4x4
material : Material3D
Modifiers: inline |
|
Full Usage:
this.AddAnimatedModelWithPerMesh
Parameters:
Animation3DState
transform : Matrix4x4
resolver : int -> Material3D
Modifiers: inline |
|
Full Usage:
this.AddBeginCamera
Parameters:
Camera3D
_layer : int<MeasureProduct<RenderLayer, MeasureOne>>
Modifiers: inline |
|
Full Usage:
this.AddBeginCameraConfig
Parameters:
Camera3DConfig
_layer : int<MeasureProduct<RenderLayer, MeasureOne>>
Modifiers: inline |
|
|
|
|
|
|
|
|
|
Full Usage:
this.AddDisableShadows3D
Modifiers: inline |
|
Full Usage:
this.AddDrawImmediate
Parameters:
SceneContext -> unit
_layer : int<MeasureProduct<RenderLayer, MeasureOne>>
Modifiers: inline |
|
Full Usage:
this.AddDrawInstanced
Parameters:
Mesh
transforms : Matrix4x4[]
material : Material3D
instanceCount : int
Modifiers: inline |
|
Full Usage:
this.AddDrawMesh
Parameters:
Mesh
transform : Matrix4x4
material : Material3D
Modifiers: inline |
|
|
|
Full Usage:
this.AddDrawModelWith
Parameters:
Model
transform : Matrix4x4
material : Material3D
Modifiers: inline |
|
Full Usage:
this.AddDrawModelWithPerMesh
Parameters:
Model
transform : Matrix4x4
resolver : int -> Material3D
Modifiers: inline |
|
Full Usage:
this.AddEnableShadows3D
Modifiers: inline |
|
Full Usage:
this.AddEndCamera
Parameters:
int<MeasureProduct<RenderLayer, MeasureOne>>
Modifiers: inline |
|
Full Usage:
this.AddEndEffect
Modifiers: inline |
|
|
|
|
|
|
|
Full Usage:
this.AddPostProcessWithDepth
Parameters:
PostProcessContext3D -> unit
Modifiers: inline |
|
|
|
|
|
Full Usage:
this.AddSkinnedMesh
Parameters:
Mesh
transform : Matrix4x4
material : Material3D
bones : Matrix4x4[]
Modifiers: inline |
|
|
|
Full Usage:
this.Clear
|
Clears all commands from the buffer without deallocating the backing array. Call this at the start of each frame before populating with new commands. |
Full Usage:
this.Count
Returns: int
|
The number of commands currently in the buffer.
|
Full Usage:
this.DepthPostProcessCount
Returns: int
|
Number of
|
Full Usage:
this.PostProcessCount
Returns: int
|
Number of
|
Mibo