czm_frameNumber

czm_frameNumber

An automatic GLSL uniform representing the frame number. This uniform is automatically incremented every frame.

Like all automatic uniforms, czm_frameNumber does not need to be explicitly declared. However, it can be explicitly declared when a shader is also used by other applications such as a third-party authoring tool.

Example
// GLSL declaration
uniform float czm_frameNumber;
Source: