Bagikan melalui


Effect.Techniques Property

Gets a collection of techniques that are defined for this effect.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public EffectTechniqueCollection Techniques { get; }

Property Value

A collection of techniques that are defined for this effect.

Remarks

Note

The BasicEffect class, which is derived from Effect and inherits the Techniques collection, contains only one available technique which will apply the settings which have been set as the properties of the BasicEffect.

Example

See Also

Reference

Effect.CurrentTechnique Property
Effect Class
Effect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP