Phaser API Documentation

  Version: 
<private> initSampler2D(uniform)

Description:

Internal method that takes a sampler2D uniform and prepares it for use by setting the gl texture parameters.

Parameters:

name type description
uniform any

The sampler2D uniform to process.

Since: 3.17.0