render.OverrideColorWriteEnable

From Garry's Mod
Jump to: navigation, search
 render.OverrideColorWriteEnable( )

Description

Overrides the write behaviour of all next rendering operations towards the color channel of the current render target.

Arguments

boolean enable

Enable or disable the override.

Arguments

boolean shouldWrite

If the previous argument is true, sets whether the next rendering operations should write to the color channel or not. Has no effect if the previous argument is false.
Personal tools
Navigation