API

Function PrepareDefinesForMisc

  • Helper used to prepare the list of defines associated with misc. values for shader compilation

    Parameters

    • mesh: AbstractMesh

      defines the current mesh

    • scene: Scene

      defines the current scene

    • useLogarithmicDepth: boolean

      defines if logarithmic depth has to be turned on

    • pointsCloud: boolean

      defines if point cloud rendering has to be turned on

    • fogEnabled: boolean

      defines if fog has to be turned on

    • alphaTest: boolean

      defines if alpha testing has to be turned on

    • defines: any

      defines the current list of defines

    • applyDecalAfterDetail: boolean = false

      Defines if the decal is applied after or before the detail

    • useVertexPulling: boolean = false

      Defines if vertex pulling is used

    • OptionalrenderingMesh: AbstractMesh

      The mesh used for rendering

    • OptionalsetVertexOutputInvariant: boolean

      Defines if the vertex output should be invariant

    Returns void