Export (0) Print
Expand All

Effect Class

Used to set and query effects, and to choose techniques.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

public class Effect

The Effect type exposes the following members.

  NameDescription
Public methodEffectInitializes a new instance of the Effect class.
Top

  NameDescription
Public propertyCurrentTechniqueGets or sets the active technique.
Public propertyIsDisposedGets a value that indicates whether the object is disposed.
Public propertyTechniquesGets a collection of techniques that are defined for this effect.
Top

  NameDescription
Public methodDispose()Immediately releases the unmanaged resources used by this object.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the Effect and optionally releases the managed resources.
Protected methodFinalizeAllows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Overrides Object.Finalize().)
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft