Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderQueue

The render queue. It manages a GFXRenderPass queue which will be executed by the RenderStage.

Hierarchy

  • RenderQueue

Index

Constructors

constructor

Properties

Private _passDesc

_passDesc: IRenderQueueDesc

Private _passPool

queue

A cached array of render passes

Methods

clear

  • clear(): void

insertRenderPass

  • insertRenderPass(renderObj: IRenderObject, subModelIdx: number, passIdx: number): boolean
  • Insert a render pass into the queue

    Parameters

    • renderObj: IRenderObject

      The render object of the pass

    • subModelIdx: number
    • passIdx: number

      The pass id

    Returns boolean

    Whether the new render pass is successfully added

recordCommandBuffer

sort

  • sort(): void

Generated using TypeDoc