Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Forces all batched sprites to be submitted to the device.
Definition
Visual Basic Public Sub Flush() C# public void Flush(); C++ public:
void Flush();JScript 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
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also