czm_currentFrustum

czm_currentFrustum

An automatic GLSL uniform containing the near distance (x) and the far distance (y) of the frustum defined by the camera. This is the individual frustum used for multi-frustum rendering.

Example
// GLSL declaration
uniform vec2 czm_currentFrustum;

// Example
float frustumLength = czm_currentFrustum.y - czm_currentFrustum.x;
See:
Source: