depthRange.js 530 B

12345678910111213141516
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "/**\n\
  3. * A built-in GLSL vec2 constant for defining the depth range.\n\
  4. * This is a workaround to a bug where IE11 does not implement gl_DepthRange.\n\
  5. *\n\
  6. * @alias czm_depthRange\n\
  7. * @glslConstant\n\
  8. *\n\
  9. * @example\n\
  10. * // GLSL declaration\n\
  11. * float depthRangeNear = czm_depthRange.near;\n\
  12. * float depthRangeFar = czm_depthRange.far;\n\
  13. *\n\
  14. */\n\
  15. const czm_depthRangeStruct czm_depthRange = czm_depthRangeStruct(0.0, 1.0);\n\
  16. ";