Garry's Mod Wiki

Revision Difference

render.PushFilterMin#561134

<function name="PushFilterMin" parent="render" type="libraryfunc"> <description>Pushes a texture filter onto the minification texture filter stack. See also <page>render.PushFilterMag</page> and <page>render.PopFilterMin</page>. </description> <realm>Client and Menu</realm> <args> <arg name="texFilterType" type="number">The texture filter type, see <page>Enums/TEXFILTER</page></arg> </args> </function> ⤶ <example>⤶ <description>Anisotropic Filtering (This is not antialiasing)</description>⤶ <code>⤶ render.PushFilterMag( TEXFILTER.ANISOTROPIC )⤶ render.PushFilterMin( TEXFILTER.ANISOTROPIC )⤶ ⤶ -- Render stuff here⤶ ⤶ render.PopFilterMag()⤶ render.PopFilterMin()⤶ </code>⤶ ⤶ </example>