Function PrepareDefinesForMisc
-
PrepareDefinesForMisc(
mesh: AbstractMesh,
scene: Scene,
useLogarithmicDepth: boolean,
pointsCloud: boolean,
fogEnabled: boolean,
alphaTest: boolean,
defines: any,
applyDecalAfterDetail?: boolean,
useVertexPulling?: boolean,
renderingMesh?: AbstractMesh,
setVertexOutputInvariant?: boolean,
): voidParameters
- 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: AbstractMeshThe mesh used for rendering
OptionalsetVertexOutputInvariant: booleanDefines if the vertex output should be invariant
Returns void
- mesh: AbstractMesh
Helper used to prepare the list of defines associated with misc. values for shader compilation