Phaser API Documentation

  Version: 
setTextureFilter(texture, filter)

Description:

Sets the minification and magnification filter for a texture.

Parameters:

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.

Returns:
Description:

This WebGL Renderer instance.

Examples:
Since: 3.0.0