Garry's Mod Wiki

Garry's Mod Wiki

  GM:PostDrawOpaqueRenderables( boolean bDrawingDepth, boolean bDrawingSkybox, boolean isDraw3DSkybox )

Description

Called after drawing opaque entities.

See also GM:PostDrawTranslucentRenderables and GM:PreDrawOpaqueRenderables.

This is a rendering hook which provides a 3d rendering context.

Arguments

1 boolean bDrawingDepth
Whether the current draw is writing depth.
2 boolean bDrawingSkybox
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.

3 boolean isDraw3DSkybox
Whether the current draw is drawing the 3D.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...