Garry's Mod Wiki

Garry's Mod Wiki

  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.

If current texture has more than 1 mipmap, this also sets the mipmap filter.

Arguments

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...