Garry's Mod Wiki

Revision Difference

render.PushFilterMin#513093

<function name="PushFilterMin" parent="render" type="libraryfunc">⤶ <description>Pushes a texture filter onto the minification texture filter stack.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="texFilterType" type="number">The texture filter type, see &lt;page&gt;TEXFILTER&lt;/page&gt;</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>