Knowledge Base‎ > ‎Programming‎ > ‎Python‎ > ‎Python Reference‎ > ‎

hint()

 Name


 Examples

 
 

 Description        

 
 Called once before anything else is done in your code (though after you import the pyprocessing library) to setup the graphics card properly.

You must call size() in your setup() after using hint().

For the machines at school the following should be used:

ACCUM_FLIP_POLICY

At home you may not require hint at all or you may wish to try some of the other values to see what works best:

DOUBLE_FLIP_POLICY

SINGLE_FLIP_POLICY

FBO_FLIP_POLICY


See: http://code.google.com/p/pyprocessing/wiki/FlipPolicy

 Syntax

 

 Parameters

 
 

 Related

 
 

Comments