render.OverrideDepthEnable

From Garry's Mod
Revision as of 16:37, 16 February 2014 by Kilburn (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 render.OverrideDepthEnable( )

Description

Overrides the write behaviour of all next rendering operations towards the depth buffer.

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 depth buffer or not. Has no effect if the previous argument is false.
Personal tools
Navigation