Sdílet prostřednictvím


StateBlock Class

Encapsulates render states.

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

Syntax

public class StateBlock : IDisposable

Remarks

StateBlock objects must be recreated when the device is reset.

See Also

Tasks

How to: Load Resources

Reference

GraphicsDeviceManager.DeviceReset Event
StateBlock Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista