EffectTechnique.Passes Property

Gets the number of passes this rendering technique requires.

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

public EffectPassCollection Passes { get; }

Property Value

The number of passes this rendering technique requires.

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.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show: