GM:PreDrawOpaqueRenderables
boolean GM:PreDrawOpaqueRenderables( boolean isDrawingDepth, boolean isDrawSkybox, boolean isDraw3DSkybox )
Description
Called before all opaque entities are drawn.
See also GM:PreDrawTranslucentRenderables and GM:PostDrawOpaqueRenderables.
This is a rendering hook which provides a 3d rendering context.
Arguments
2 boolean isDrawSkybox
Whether the current draw is drawing the 3D or 2D skybox.
In case of 2D skyboxes it is possible for this hook to always be called with this parameter set to true
.