This documentation is archived and is not being maintained.

Sprite.Begin Method

Prepares a device for drawing sprites.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

public void Begin (
	SpriteFlags flags
public void Begin (
	SpriteFlags flags
public function Begin (
	flags : SpriteFlags
Not applicable.



Combination of zero or more values from SpriteFlags that describe sprite rendering options.

Exception typeCondition


The method call is invalid. For example, a method's parameter may contain an invalid value.


Direct3D could not allocate sufficient memory to complete the call.

This method must be called from inside of a BeginScene and EndScene pair of a Device.

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Compact Framework

Supported in: 2.0