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)
Syntax
public EffectPassCollection Passes { get; }
Property Value
The number of passes 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 XP SP2, Windows Vista