GM/PreDrawOpaqueRenderables
From Garry's Mod
GM:PreDrawOpaqueRenderables( )
Contents |
Description
Called before all opaque entities are drawn.
See also GM:PreDrawTranslucentRenderables and GM:PostDrawOpaqueRenderables.
NOTE |
This is a rendering hook with a 3D rendering context. |
Arguments
boolean isDrawingDepth
Whether the current draw is writing depth.
Arguments
boolean isDrawSkybox
Whether the current draw is drawing the skybox.
Returns
Return true to prevent opaque renderables from drawing.