API

Class NodeRenderGraphObjectRendererBlock

Block that render objects to a render target

Hierarchy

  • NodeRenderGraphBaseObjectRendererBlock
    • NodeRenderGraphObjectRendererBlock
Index
  • Create a new NodeRenderGraphBaseObjectRendererBlock

    Parameters

    • name: string

      defines the block name

    • frameGraph: FrameGraph

      defines the hosting frame graph

    • scene: Scene

      defines the hosting scene

    • doNotChangeAspectRatio: boolean = true

      True (default) to not change the aspect ratio of the scene in the RTT

    • enableClusteredLights: boolean = true

      True (default) to enable clustered lights

    Returns NodeRenderGraphObjectRendererBlock

comments: string

A free comment about the block

onBuildObservable: Observable<NodeRenderGraphBlock> = ...

Gets an observable raised when the block is built

uniqueId: number

Gets or sets the unique id of the node

visibleOnFrame: boolean = false

Gets or sets a boolean indicating that this input can be edited from a collapsed frame

  • Build the current node and generate the vertex data

    Parameters

    • state: NodeRenderGraphBuildState

      defines the current generation state

    Returns boolean

    true if already built

  • Checks if the current block is an ancestor of a given type

    Parameters

    • type: string

      defines the potential type to check

    Returns boolean

    true if block is a descendant