Garry's Mod Wiki

Revision Difference

render.PushFilterMin#518885

<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 <page>TEXFILTER</page></arg>⤶ <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>