mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask()
This commit is contained in:
parent
fd40bf7ada
commit
c4a3638183
1 changed files with 3 additions and 0 deletions
|
@ -200,6 +200,9 @@ struct GPUgstate
|
|||
// Cull
|
||||
bool isCullEnabled() const { return cullfaceEnable & 1; }
|
||||
int getCullMode() const { return cullmode & 1; }
|
||||
bool isClearModeDepthWriteEnabled() const { return (clearmode&0x400) != 0; }
|
||||
bool isClearModeColorMask() const { return (clearmode&0x100) != 0; }
|
||||
bool isClearModeAlphaMask() const { return (clearmode&0x200) != 0; }
|
||||
|
||||
// Blend
|
||||
int getBlendFuncA() const { return blend & 0xF; }
|
||||
|
|
Loading…
Add table
Reference in a new issue