Click or drag to resize
DefaultMaterialGenerator Delegate
A callback to generate the default materials all loaded meshes will recieve.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public delegate MaterialAPI DefaultMaterialGenerator(
	Effect mgEffect
)

Parameters

mgEffect
Type: Effect
MonoGame effect loaded by the mesh loader. You can use it to extract data.

Return Value

Type: MaterialAPI
Material instance.
See Also