次の方法で共有


Effect.Reset Event

Occurs after the device is reset.

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

Syntax

public event EventHandler Reset

Example

To add an event handler that listens for a Reset event, use the following C# code.

effect.Reset += new System.EventHandler( this.ResetEventHandler );

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista