render.OverrideBlend

From Garry's Mod
Revision as of 16:07, 24 February 2018 by Willox (Talk | contribs)
Jump to: navigation, search
 render.OverrideBlend( )

Contents

Description

Next Update Change

This feature is only available in the next update.

Overrides the internal graphical functions used to determine the final color and alpha of a rendered texture.

See also render.OverrideAlphaWriteEnable.

NOTE

Doing surface library draw calls with alpha set to 0 is a no-op and will never have any effect.

Arguments

boolean enabled

true to enable, false to disable. No other arguments are required when disabling.

Arguments

number srcBlend

The source color blend function BLEND_ Enums. Determines how a rendered texture's final color should be calculated.

Arguments

number destBlend

Arguments

number blendFunc

Arguments

number srcBlendAlpha=none

The source alpha blend function BLEND_ Enums. Determines how a rendered texture's final alpha should be calculated.

Arguments

number destBlendAlpha=none

Arguments

number blendFuncAlpha=none

Personal tools
Navigation