Garry's Mod Wiki

Revision Difference

3D_Rendering_Functions#522302

<cat>removed</cat><cat>Dev</cat>⤶ This page lists all 3D rendering functions. These functions will only work when a <page text="3D rendering context">3D Rendering Hooks</page> is available. Rendering context is only available in the current frame, so you cannot draw things from a timer.⤶ ⤶ <note>The list is not generated automatically, some information may be missed</note>⤶ ⤶ # See also⤶ <page>cam.Start3D</page>⤶ ⤶ <page>3D Rendering Hooks</page>⤶ ⤶ <page>2D Rendering Functions</page>⤶ ⤶ <page>Render Order</page>⤶ ⤶ # Hooks⤶ - <page>cam.Start3D</page>⤶ - <page>cam.Start3D2D</page>⤶ - <page>Entity:DrawModel</page>⤶ - <page>render.DrawBeam</page>⤶ - <page>render.DrawBox</page>⤶ - <page>render.DrawLine</page>⤶ - <page>render.DrawQuad</page>⤶ - <page>render.DrawQuadEasy</page>⤶ - <page>render.DrawSphere</page>⤶ - <page>render.DrawSprite</page>⤶ - <page>render.DrawWireframeBox</page>⤶ - <page>render.DrawWireframeSphere</page>⤶ - <page>render.SetLightmapTexture</page>⤶ - <page>render.SetMaterial</page>⤶ - <page>render.StartBeam</page>