AftGangAglay Documentation


getflag

New in 2.2.0

Parameters

N/A

Return Value

Type Description
int The draw flags state.

Description

Gets the currently set flags for draw operations, bitor'd together. The default value is BACKFACE | FOG | TEXTURE | LIGHTING | DEPTH.

Example

import agan

class game():
	def create(self):
		agan.log(agan.getflag())
		return self
	#
	def update(self):
		pass
	#
	def close(self):
		pass