Phaser API Documentation

  Version: 
forceClamp: boolean

Description:

Force the WebGL Texture to use the CLAMP_TO_EDGE wrap mode, even if a power of two?

If false it will use gl.REPEAT instead, which may be required for some effects, such as using this Render Target as a texture for a Shader.

Type:
boolean
Since: 3.60.0