Partager via


SaveStateMode Enumeration

Defines options for saving the graphics device state before and after an effect technique is applied.

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

Syntax

public enum SaveStateMode

Members

  Member name Description
None No device state is saved when calling Begin or restored when calling End.
SaveState Save all device state when calling Begin and restore device state when calling End.

See Also

Reference

Effect.Begin Method
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista