[Feat] (MG_Impl/RenderState): Implement some RenderState GL functions.

This commit is contained in:
BZLZHH
2025-10-03 13:16:42 +08:00
parent f7df90447b
commit e77b01ac84
14 changed files with 519 additions and 80 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ namespace MobileGL {
void SetBlendFunc(BlendFactor srcRGB, BlendFactor dstRGB, BlendFactor srcAlpha, BlendFactor dstAlpha);
void GetBlendFunc(BlendFactor& srcRGB, BlendFactor& dstRGB, BlendFactor& srcAlpha,
BlendFactor& dstAlpha) const;
void SetDepthFunc(DepthFunc func);
DepthFunc GetDepthFunc() const;
void SetDepthFunc(DepthTestFunc func);
DepthTestFunc GetDepthFunc() const;
void SetDepthMask(Bool flag);
Bool GetDepthMask() const;
void SetColorMask(BoolVec4 mask);