Sets the minification and magnification filter for a texture.
name | type | description |
---|---|---|
texture | number |
The texture to set the filter for. |
filter | number |
The filter to set. 0 for linear filtering, 1 for nearest neighbor (blocky) filtering. |
This WebGL Renderer instance.