Sprite.Flush Method |
Language: |
Forces all batched sprites to be submitted to the device.
Visual Basic Public Sub Flush() C# public void Flush(); C++ public:
void Flush();JScript public function Flush();
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center