Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrePassConfiguration

Configuration needed for prepass-capable materials

Hierarchy

  • PrePassConfiguration

Index

Properties

currentViewProjectionSearch playground for currentViewProjection

currentViewProjection: Matrix

Current view projection matrix Used for computing velocity

previousBonesSearch playground for previousBones

previousBones: {}

Previous bones of meshes carrying this material Used for computing velocity

Type declaration

  • [index: number]: Float32Array

previousViewProjectionSearch playground for previousViewProjection

previousViewProjection: Matrix

Previous view project matrix Used for computing velocity

previousWorldMatricesSearch playground for previousWorldMatrices

previousWorldMatrices: {}

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

Type declaration

Methods

bindForSubMeshSearch playground for bindForSubMesh

  • 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

Static AddSamplersSearch playground for AddSamplers

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

    Parameters

    • samplers: string[]

      defines the current sampler list.

    Returns void

Static AddUniformsSearch playground for AddUniforms

  • 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
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method