Garry's Mod Wiki

Revision Difference

Enums/BLEND#516324

<cat>enum</cat> <enum> <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> <items><item key="BLEND_ZERO" value="0</items>⤶ <items>⤶ <item key="BLEND_ZERO" value="0"></item>⤶ <item key="BLEND_ONE" value="1"></item>⤶ <item key="BLEND_DST_COLOR" value="2"></item>⤶ <item key="BLEND_ONE_MINUS_DST_COLOR" value="3"></item>⤶ <item key="BLEND_SRC_ALPHA" value="4"></item>⤶ <item key="BLEND_ONE_MINUS_SRC_ALPHA" value="5"></item>⤶ <item key="BLEND_DST_ALPHA" value="6"></item>⤶ <item key="BLEND_ONE_MINUS_DST_ALPHA" value="7"></item>⤶ <item key="BLEND_SRC_ALPHA_SATURATE" value="8"></item>⤶ <item key="BLEND_SRC_COLOR" value="9"></item>⤶ <item key="BLEND_ONE_MINUS_SRC_COLOR" value="1">0</item>⤶ </items>⤶ </enum> {{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}}⤶ }}