Options
All
  • Public
  • Public/Protected
  • All
Menu

Configuration needed for prepass-capable materials

Hierarchy

  • PrePassConfiguration

Index

Constructors

Properties

currentViewProjection: Matrix

Current view projection matrix Used for computing velocity

previousBones: {}

Previous bones of meshes carrying this material Used for computing velocity

Type declaration

  • [index: number]: Float32Array
previousViewProjection: Matrix

Previous view project matrix Used for computing velocity

previousWorldMatrices: {}

Previous world matrices of meshes carrying this material Used for computing velocity

Type declaration

Methods

  • Binds the material data.

    Parameters

    • effect: Effect

      defines the effect to update

    • scene: Scene

      defines the scene the material belongs to.

    • mesh: Mesh

      The mesh

    • world: Matrix

      World matrix of this mesh

    • isFrozen: boolean

      Is the material frozen

    Returns void

  • AddSamplers(samplers: string[]): void
  • Add the required samplers to the current list.

    Parameters

    • samplers: string[]

      defines the current sampler list.

    Returns void

  • AddUniforms(uniforms: string[]): void
  • Add the required uniforms to the current list.

    Parameters

    • uniforms: string[]

      defines the current uniform list.

    Returns void

Legend

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

Settings

Theme