phaser - v3.90.0
    Preparing search index...
    type RenderTargetConfig = {
        autoClear?: boolean;
        autoResize?: boolean;
        height?: number;
        minFilter?: number;
        scale?: number;
        width?: number;
    }
    Index

    Properties

    autoClear?: boolean

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

    autoResize?: boolean

    Controls if this Render Target is automatically resized when the Renderer resizes.

    height?: number

    The height of the Render Target. This is optional. If not given, it will be set to the same as the width value.

    minFilter?: number

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

    scale?: number

    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.

    width?: number

    The width of the Render Target. This is optional. If given it overrides the scale property.