[Feat] (GL_State/RenderState): implement ClearStencil

This commit is contained in:
2026-02-17 08:17:26 +08:00
parent 781bda2573
commit f8f3d6e657
6 changed files with 30 additions and 6 deletions
+3 -1
View File
@@ -111,6 +111,8 @@ namespace MobileGL {
const FloatVec4& GetClearColor() const;
void SetClearDepth(Float depth);
Float GetClearDepth() const;
void SetClearStencil(Int stencil);
Int GetClearStencil() const;
void SetPixelStoreParam(PixelStoreParam param, Int value);
Int GetPixelStoreParam(PixelStoreParam param) const;
PixelStoreParameters GetPixelStoreParameters(Bool isUnpack) const;
@@ -161,4 +163,4 @@ namespace MobileGL {
extern GLState::GLContext* pGLContext;
} // namespace MG_State
} // namespace MobileGL
} // namespace MobileGL