Garry's Mod Wiki

render.DrawTextureToScreen

  render.DrawTextureToScreen( ITexture tex )

Description

Draws a texture over the whole screen.

This is a rendering function that requires a 2d rendering context.

This means that it will only work in 2d Rendering Hooks.

Arguments

1 ITexture tex
The texture to draw