Effect Members

The following tables list the members exposed by the Effect type.

Public Constructors

Name Description
Public Method Effect Overloaded. Initializes a new instance of this class.

Public Properties

Name Description
Public Property CurrentTechnique Gets or sets the active technique.
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property Name (Inherited from GraphicsResource.)
Public Property Parameters Gets a collection of parameters used for this effect.
Public Property Tag (Inherited from GraphicsResource.)
Public Property Techniques Gets a collection of techniques that are defined for this effect.

Public Methods

Name Description
Public Method Clone Copies data from an existing object to this object.
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from GraphicsResource.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from GraphicsResource.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method OnApply Applies the effect state just prior to rendering the effect.

Public Events

Name Description
Public Event Disposing (Inherited from GraphicsResource.)

See Also

Reference

Effect Class
Microsoft.Xna.Framework.Graphics Namespace