Use gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask()
Add gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask()
Merge pull request #3040 from raven02/patch-4

Add GE state clearmode-related accessors