MaterialProcessor.GetDefaultEffect Method (Microsoft.Xna.Framework.Content.Pipeline.Processors)
Helper method which returns the default effect for a material.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public static MaterialProcessorDefaultEffect GetDefaultEffect( MaterialContent content )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
Return Value
Type: Microsoft.Xna.Framework.Content.Pipeline.Processors.MaterialProcessorDefaultEffectThe default effect.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop