|
|
@ -31,11 +31,6 @@ public: |
|
|
bool near_plane = false; |
|
|
bool near_plane = false; |
|
|
} depth_clamp; // GL_DEPTH_CLAMP |
|
|
} depth_clamp; // GL_DEPTH_CLAMP |
|
|
|
|
|
|
|
|
struct { |
|
|
|
|
|
bool enabled = false; // GL_CULL_FACE |
|
|
|
|
|
GLenum mode = GL_BACK; // GL_CULL_FACE_MODE |
|
|
|
|
|
} cull; |
|
|
|
|
|
|
|
|
|
|
|
struct { |
|
|
struct { |
|
|
bool test_enabled = false; // GL_DEPTH_TEST |
|
|
bool test_enabled = false; // GL_DEPTH_TEST |
|
|
GLboolean write_mask = GL_TRUE; // GL_DEPTH_WRITEMASK |
|
|
GLboolean write_mask = GL_TRUE; // GL_DEPTH_WRITEMASK |
|
|
@ -172,7 +167,6 @@ public: |
|
|
void ApplyFragmentColorClamp(); |
|
|
void ApplyFragmentColorClamp(); |
|
|
void ApplyMultisample(); |
|
|
void ApplyMultisample(); |
|
|
void ApplySRgb(); |
|
|
void ApplySRgb(); |
|
|
void ApplyCulling(); |
|
|
|
|
|
void ApplyRasterizerDiscard(); |
|
|
void ApplyRasterizerDiscard(); |
|
|
void ApplyColorMask(); |
|
|
void ApplyColorMask(); |
|
|
void ApplyDepth(); |
|
|
void ApplyDepth(); |
|
|
|