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. See setflag for the meanings of each available flag.

The default value is BACKFACE | FOG | TEXTURE | LIGHTING | DEPTH.
New in 2.3.0 The default value is BACKFACE | FOG | TEXTURE | LIGHTING | DEPTH | SHADEFLAT.

Example

import agan

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