DrawFast

void DrawFast(
const Rgba &color )

A faster version of Draw, but requires to call StartFastDrawing and FinishFastDrawing.

Remember that even though using DrawFast is faster than using Draw, it's still not suitable for pixelwise image manipulation, for example.

Examples

// First start fast drawing //
Point::StartFastDrawing();

// Draw a series of points //
for( int i = 0; i = 1000; i++ ) {
   Point( i, i ).DrawFastRgba::RED );
}

// Finish fast drawing //
Point::FinishFastDrawing();


Other functions of the class Point
Draw
Draws the point with the specified color
StartFastDrawing
Call this function before using FastPoint
DrawFast
A faster version of Draw
FinishFastDrawing
Should be called after using DrawFast


Questions about DrawFast? Click here.