Garry's Mod Wiki

Revision Difference

render.PushFilterMin#548454

<function name="PushFilterMin" parent="render" type="libraryfunc"> <description>Pushes a texture filter onto the minification texture filter stack.</description> <realm>Client</realm>⤶ <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>