phaser - v4.0.0-rc.4
    Preparing search index...

    The SubmitterTilemapGPULayer RenderNode handles rendering of TilemapGPULayer objects.

    It is a Stand Alone Render, meaning that it does not batch.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    config: object

    The completed configuration object for this RenderNode. This is defined by the default configuration and the user-defined configuration object.

    defaultConfig: BatchHandlerConfig

    Default configuration of this RenderNode.

    indexBuffer: WebGLBufferWrapper

    The index buffer defining vertex order.

    The manager that owns this RenderNode.

    name: string

    The name of the RenderNode.

    programManager: ProgramManager

    The program manager used to create and manage shader programs. This contains shader variants.

    vertexBufferLayout: WebGLVertexBufferLayoutWrapper

    The vertex buffer layout for this RenderNode.

    This consists of 4 bytes, 0-3, forming corners of a quad instance.

    Methods

    • Fill out the configuration object with default values where needed.

      Parameters

      • config: object

        The configuration object to complete.

      Returns void

    • By default this is an empty method hook that you can override and use in your own custom render nodes.

      This method is called at the start of the run method. Don't forget to call it in your custom method.

      Parameters

      Returns void

    • By default this is an empty method hook that you can override and use in your own custom render nodes.

      This method is called at the end of the run method. Don't forget to call it in your custom method.

      Parameters

      Returns void

    • Set whether the node should report debug information. It wraps the run method with additional debug information.

      Parameters

      • debug: boolean

        Whether to report debug information.

      Returns void

    • Update render options for a TilemapGPULayer object. This may use a different shader program. This is called before rendering the object.

      Parameters

      Returns void