Header menu logo Nu

MeshBatcher Type

Draws batched meshes.

Constructors

Constructor Description

MeshBatcher(createShaderFromStrings)

Full Usage: MeshBatcher(createShaderFromStrings)

Parameters:
    createShaderFromStrings : Func<string, string, uint32>

createShaderFromStrings : Func<string, string, uint32>

Instance members

Instance member Description

this.Destroy

Full Usage: this.Destroy

this.Draw

Full Usage: this.Draw

Parameters:
blendSrc : BlendingFactor
blendDst : BlendingFactor
matrix : inref<Matrix4x4>

this.NextItem

Full Usage: this.NextItem

Parameters:
    vertexCount : int
    triangleCount : int

Returns: MeshItem

Returns a pooled MeshItem.

vertexCount : int
triangleCount : int
Returns: MeshItem

Type something to start searching.