New in 2.2.0
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 |
New in 2.3.0 | |
SHADEFLAT | Enable flat shading |
New in 2.3.0 | |
FIDELITY | Enable high-fidelity rendering. May negatively affect render performance |
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