Garry's Mod Wiki

Revision Difference

Enums/BLEND#516135

<cat>enum</cat> <enumeration> <description> Used by <page>render.OverrideBlend</page> to determine how texture RGBA information should be interpreted when rendered. For more information refer to OpenGL's glBlendFunc page here: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBlendFunc.xhtml Clientside only. </description> <fields><item key="BLEND_ZERO" value="0</fields> </enumeration> {{EnumField">BLEND_ONE|1</item><item key="BLEND_DST_COLOR" value="2}}{{EnumField">BLEND_ONE_MINUS_DST_COLOR|3</item><item key="BLEND_SRC_ALPHA" value="4}}{{EnumField">BLEND_ONE_MINUS_SRC_ALPHA|5</item><item key="BLEND_DST_ALPHA" value="6}}{{EnumField">BLEND_ONE_MINUS_DST_ALPHA|7</item><item key="BLEND_SRC_ALPHA_SATURATE" value="8}}{{EnumField">BLEND_SRC_COLOR|9</item>{{EnumField|BLEND_ONE_MINUS_SRC_COLOR|10}}⤶ {{EnumField">BLEND_ONE|1</item>⤶ <item key="BLEND_DST_COLOR" value="2}}{{EnumField">BLEND_ONE_MINUS_DST_COLOR|3</item>⤶ <item key="BLEND_SRC_ALPHA" value="4}}{{EnumField">BLEND_ONE_MINUS_SRC_ALPHA|5</item>⤶ <item key="BLEND_DST_ALPHA" value="6}}{{EnumField">BLEND_ONE_MINUS_DST_ALPHA|7</item>⤶ <item key="BLEND_SRC_ALPHA_SATURATE" value="8}}{{EnumField">BLEND_SRC_COLOR|9</item>⤶ {{EnumField|BLEND_ONE_MINUS_SRC_COLOR|10}}⤶ }}