Skip to main content
gamedev.net
🔒 Locked

[.net] Graphics.Flush?

Started by Z3R0Bit 6 replies 2.4k views
Original Post
Z3R0Bit
Z3R0Bit
What does the Graphics.Flush exactly do?
chronozphere
chronozphere
I think no one can answer that question until you give us more info. :)

What API/Library are you using?

Okay here comes my guess:

If graphics is some kind of render-module, i could imagine that flush is used to execute some kind of render batch. During rendering, you add different things to the batch and in the end you call Flush, to render everything.
Z3R0Bit
Z3R0Bit
Your right sorry,
System.Drawing.Graphic
would that do?
ZachE84
ZachE84
Check this out: http://msdn2.microsoft.com/en-us/library/system.drawing.graphics_methods.aspx
chronozphere
chronozphere
Quote:

Graphics..::.Flush Method

Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.


Ghehe.. just as i predicted. :P
Z3R0Bit
Z3R0Bit
Quote:
Original post by ZachE84
Check this out: http://msdn2.microsoft.com/en-us/library/system.drawing.graphics_methods.aspx


I've already been there, but I don't understand what it means
ZachE84
ZachE84
Dug this up for you: http://www.eggheadcafe.com/software/aspnet/29069981/when-and-why-should-i-cal.aspx
Z3R0Bit
Z3R0Bit
cheers, really helped

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.