Phaser API Documentation

  Version: 
RenderTargetConfig
Properties:
name type arguments Default description
scale number <optional> 1

A value between 0 and 1. Controls the size of this Render Target in relation to the Renderer. A value of 1 matches it. 0.5 makes the Render Target half the size of the renderer, etc.

minFilter number <optional> 0

The minFilter mode of the texture. 0 is LINEAR, 1 is NEAREST.

autoClear boolean <optional> true

Controls if this Render Target is automatically cleared (via gl.COLOR_BUFFER_BIT) during the bind.

Type:
object