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 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:
MaterialAPIMaterial instance.
See Also