Parameter | Type | Description |
fl | int | The draw flags to apply. |
N/A
Sets flags for draw operations, bitor'd together.
Name | Description |
BACKFACE | Enable backface culling on geometry |
BLEND | Enable blending |
FOG | Enable fog |
TEXTURE | Enable texture sampling |
LIGHTING | Enable lights and lighting calculations |
DEPTH | Enable depth testing |
import agan
class game():
def create(self):
fl = [ agan.DEPTH, agan.TEXTURE, agan.LIGHTING ]
agan.setflag(agan.bitor(fl))
return self
#
def update(self):
pass
#
def close(self):
pass