API

Class NodeRenderGraphGeometryRendererBlock

Block that render geometry of objects to a multi render target

Hierarchy

  • NodeRenderGraphBaseObjectRendererBlock
    • NodeRenderGraphGeometryRendererBlock
Index
  • Create a new NodeRenderGraphGeometryRendererBlock

    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 NodeRenderGraphGeometryRendererBlock

albedoFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the albedo output texture

albedoType: any = Constants.TEXTURETYPE_UNSIGNED_BYTE

The type of the albedo output texture

comments: string

A free comment about the block

irradianceFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the irradiance output texture

irradianceType: any = Constants.TEXTURETYPE_HALF_FLOAT

The type of the irradiance output texture

linearVelocityFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the linear velocity output texture

linearVelocityType: any = Constants.TEXTURETYPE_HALF_FLOAT

The type of the linear velocity output texture

localPositionFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the local position output texture

localPositionType: any = Constants.TEXTURETYPE_HALF_FLOAT

The type of the local position output texture

normalizedViewDepthFormat: any = Constants.TEXTUREFORMAT_RED

The format of the normalized view depth output texture

normalizedViewDepthType: any = Constants.TEXTURETYPE_HALF_FLOAT

The type of the normalized view depth output texture

onBuildObservable: Observable<NodeRenderGraphBlock> = ...

Gets an observable raised when the block is built

reflectivityFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the reflectivity output texture

reflectivityType: any = Constants.TEXTURETYPE_UNSIGNED_BYTE

The type of the reflectivity output texture

screenDepthFormat: any = Constants.TEXTUREFORMAT_RED

The format of the screen depth output texture

screenDepthType: any = Constants.TEXTURETYPE_FLOAT

The type of the screen depth output texture

uniqueId: number

Gets or sets the unique id of the node

velocityFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the velocity output texture

velocityType: any = Constants.TEXTURETYPE_UNSIGNED_BYTE

The type of the velocity output texture

viewDepthFormat: any = Constants.TEXTUREFORMAT_RED

The format of the view depth output texture

viewDepthType: any = Constants.TEXTURETYPE_FLOAT

The type of the view depth output texture

viewNormalFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the view normal output texture

viewNormalType: any = Constants.TEXTURETYPE_HALF_FLOAT

The type of the view normal output texture

visibleOnFrame: boolean = false

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

worldNormalFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the world normal output texture

worldNormalType: any = Constants.TEXTURETYPE_UNSIGNED_BYTE

The type of the world normal output texture

worldPositionFormat: any = Constants.TEXTUREFORMAT_RGBA

The format of the world position output texture

worldPositionType: any = Constants.TEXTURETYPE_HALF_FLOAT

The type of the world position output texture

  • 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