Effect.End Method
Ends the application of the current technique.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void End ()
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | End was called, but Begin has not yet been called. Begin must be called successfully before End can be called. |
See Also
Tasks
How to: Create and Apply Custom Effects
How to: Use BasicEffect
How to: Create Custom Texture Effects
Reference
Effect.Begin Method
Effect.CurrentTechnique Property
Effect Class
Effect Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista