GL

From Crumbled World Wiki
Revision as of 14:07, 5 July 2025 by Anders (talk | contribs) (Created page with "{{:GLExampleCode}} ==Static functions== {| class="wikitable" !|return !|function !|description |- | |enable(GL_State state) | |- | |disable(GL_State state) | |- | |depthMask(bool enable) | |- | |blendFunc(GL_Blend sFactor, GL_Blend dfactor) | |- | |blendEquation(GL_Bl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GLExampleCode

Static functions

return function description
enable(GL_State state)
disable(GL_State state)
depthMask(bool enable)
blendFunc(GL_Blend sFactor, GL_Blend dfactor)
blendEquation(GL_BlendEquation mode)
blendFuncSeparate(GL_Blend sfactorRGB, GL_Blend dfactorRGB, GL_Blend sfactorAlpha, GL_Blend dfactorAlpha)
colorMask(bool red, bool green, bool blue, bool alpha)
colorMaski(int buffer, bool red, bool green, bool blue, bool alpha)
clear(GL_Clear buffer)
clear(GL_Clear buffer, GL_Clear buffer)