surface.DrawTexturedRect
Example
Draws a 512x512 textured rectangle with the wireframe texture.
Draw a textured rectangle with the given position and dimensions on the screen, using the current active texture set with surface.SetMaterial. It is also affected by surface.SetDrawColor.
See also render.SetMaterial and render.DrawScreenQuadEx.
See also surface.DrawTexturedRectUV and surface.DrawTexturedRectRotated.
This means that it will only work in 2d Rendering Hooks.
Draws a 512x512 textured rectangle with the wireframe texture.