2D Rendering Functions
This page lists all 2D rendering functions. These functions will only work when a 2D rendering context (see 2D Rendering Hooks) Rendering context is only available in the current frame, so you cannot draw things from a timer.
The list is not generated automatically, some information may be missed
See Related
Functions
- draw.DrawText
- draw.GetFontHeight
- draw.NoTexture
- draw.RoundedBox
- draw.RoundedBoxEx
- draw.SimpleText
- draw.SimpleTextOutlined
- draw.Text
- draw.TextShadow
- draw.TexturedQuad
- draw.WordBox
- render.DrawScreenQuad
- render.DrawScreenQuadEx
- render.DrawTextureToScreen
- render.DrawTextureToScreenRect
- render.SetLightmapTexture
- render.SetMaterial
- surface.DrawCircle
- surface.DrawLine
- surface.DrawOutlinedRect
- surface.DrawPoly
- surface.DrawRect
- surface.DrawText
- surface.DrawTexturedRect
- surface.DrawTexturedRectRotated
- surface.DrawTexturedRectUV