Garry's Mod Wiki

surface.DisableClipping

  boolean surface.DisableClipping( boolean disable )

Description

We advise against using this. It may be changed or removed in a future update.
Alias of DisableClipping so use that instead.

Enables or disables the clipping used by the VGUI that limits the drawing operations to a panels bounds.

Identical to DisableClipping. See also Panel:NoClipping.

Arguments

1 boolean disable
True to disable, false to enable the clipping

Returns

1 boolean oldState
Whether the clipping was enabled or not before this function call