Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines the Geometry Buffer scene component responsible to manage a G-Buffer useful in several rendering techniques.

Hierarchy

  • SubSurfaceSceneComponent

Implements

Index

Constructors

  • Creates a new instance of the component for the given scene

    Parameters

    • scene: Scene

      Defines the scene to register the component in

    Returns SubSurfaceSceneComponent

Properties

name: "PrePassRenderer" = "PrePassRenderer"

The component name helpful to identify the component in the list of scene components.

scene: Scene

The scene the component belongs to.

Methods

  • addFromContainer(): void
  • dispose(): void
  • rebuild(): void
  • Rebuilds the elements related to this component in case of context lost for instance.

    Returns void

  • register(): void
  • removeFromContainer(): void
  • serialize(serializationObject: any): void
  • Serializes the component data to the specified json object

    Parameters

    • serializationObject: any

      The object to serialize to

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme