API

Function PrepareDefinesForPrePass

  • Prepares the defines related to the prepass

    Parameters

    • scene: Scene

      The scene we are intending to draw

    • defines: any

      The defines to update

    • canRenderToMRT: boolean

      Indicates if this material renders to several textures in the prepass

    Returns void