EffectTechnique.Passes Property

Gets the collection of EffectPass objects this rendering technique requires.

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

Syntax

public EffectPassCollection Passes { get; }

Property Value

The collection of EffectPass objects this rendering technique requires.

Remarks

Some video cards can render two textures in a single pass. However, if a card does not have this capability, it is often possible to render the same effect in two passes, using one texture for each pass.

See Also

Reference

EffectTechnique Class
EffectTechnique Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP