Garry's Mod Wiki

render.PushFilterMag

  render.PushFilterMag( number texFilterType )

Description

Pushes (Adds) a texture filter onto the magnification texture filter stack.
This will modify how textures are stretched to sizes larger than their native resolution for upcoming rendering and drawing operations.
For a version of this same function that modifies filtering for texture sizes smaller than their native resolution, see render.PushFilterMin()

Always be sure to call render.PopFilterMag() afterwards to avoid texture filtering problems.

For more detailed information and a usage example, see the texture minification and magnification render reference.

Arguments

1 number texFilterType
The texture filter to use. For available options, see TEXFILTER enum