GL: Difference between revisions

From Crumbled World Wiki
(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...")
 
(No difference)

Latest revision as of 14:07, 5 July 2025

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)