Effect Class (Microsoft.Xna.Framework.Graphics)

System.Object
   Microsoft.Xna.Framework.Graphics.GraphicsResource
      Microsoft.Xna.Framework.Graphics.Effect
      More...

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public class Effect : GraphicsResource

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The Effect type exposes the following members.

  Platforms Name Description
CurrentTechnique  
GraphicsDevice  (Inherited from GraphicsResource.)
IsDisposed  (Inherited from GraphicsResource.)
Name  (Inherited from GraphicsResource.)
Parameters  
Tag  (Inherited from GraphicsResource.)
Techniques  
Top
  Platforms Name Description
Clone Returns a deep copy of the effect where immutable types are shared and mutable data is duplicated. 
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. (Overrides GraphicsResource.Dispose().)
Dispose()  (Inherited from GraphicsResource.)
Finalize  (Inherited from GraphicsResource.)
GraphicsDeviceResetting Called before the device is reset. Allows graphics resources to invalidate their state so they can be recreated after the device reset. Warning: This may be called after a call to Dispose() up until the resource is garbage collected. (Overrides GraphicsResource.GraphicsDeviceResetting().)
OnApply  
ToString  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
Disposing  (Inherited from GraphicsResource.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web