Revision Difference
render.OverrideBlend#518094
<function name="OverrideBlend" parent="render" type="libraryfunc">
<description>
Overrides the internal graphical functions used to determine the final color and alpha of a rendered texture.
See also <page>render.OverrideAlphaWriteEnable</page>.
<note>Doing <page>surface</page> draw calls with alpha set to 0 is a no-op and won't have an effect.</note>
</description>
<realm>Client</realm>
<args>
<arg name="enabled" type="boolean">true to enable, false to disable. No other arguments are required when disabling.</arg>
<arg name="srcBlend" type="number">The source color blend function <page>BLEND</page>. Determines how a rendered texture's final color should be calculated.</arg>
<arg name="destBlend" type="number">The destination color blend function <page>BLEND</page>.</arg>
<arg name="blendFunc" type="number">The blend mode used for drawing the color layer <page>BLENDFUNC</page>.</arg>
<arg name="srcBlendAlpha" type="number" default="none">The source alpha blend function <page>BLEND</page>. Determines how a rendered texture's final alpha should be calculated.</arg>
<arg name="destBlendAlpha" type="number" default="none">The destination alpha blend function <page>BLEND</page>.</arg>
<arg name="blendFuncAlpha" type="number" default="none">The blend mode used for drawing the alpha layer <page>BLENDFUNC</page>.</arg>
<arg name="srcBlend" type="number">The source color blend function <page>BLEND</page>. Determines how a rendered texture's final color should be calculated.</arg>
<arg name="destBlend" type="number">The destination color blend function <page>BLEND</page>.</arg>
<arg name="blendFunc" type="number">The blend mode used for drawing the color layer <page>BLENDFUNC</page>.</arg>
<arg name="srcBlendAlpha" type="number" default="none">The source alpha blend function <page>BLEND</page>. Determines how a rendered texture's final alpha should be calculated.</arg>
<arg name="destBlendAlpha" type="number" default="none">The destination alpha blend function <page>BLEND</page>.</arg>
<arg name="blendFuncAlpha" type="number" default="none">The blend mode used for drawing the alpha layer <page>BLENDFUNC</page>.</arg>
</args>
</function>