Share via


Effect.Begin Method ()

Begins application of the active technique.

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

Syntax

public void Begin ()

Exceptions

Exception type Condition
InvalidOperationException

Begin has been called before calling End after the last call to Begin. Begin cannot be called again until End has been successfully called.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista