Microsoft DirectX 9.0 SDK Update (October 2004)

Sprite.Flush Method

Language:

Note: This documentation is preliminary and is subject to change.

Forces all batched sprites to be submitted to the device.

Definition

Visual Basic .NET Public Sub Flush()
C# public void Flush();
Managed C++ public: void Flush();
JScript .NET public function Flush();

Remarks

Device states remain as they were after the last call to Sprite.Begin. The list of batched sprites is then cleared.

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

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center