![]() |
![]() |
![]() |
Sprite.Flush Method |
Language: |
Forces all batched sprites to be submitted to the device.
Visual Basic .NET Public Sub Flush() C# public void Flush(); Managed C++ public: void Flush(); JScript .NET 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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center