智慧水务管理系统 - 精河县供水工程综合管理平台

123456789101112131415161718192021222324252627282930313233343536
  1. // @ts-check
  2. /**
  3. * The render pass for a command.
  4. *
  5. * @enum {number}
  6. * @private
  7. */
  8. const Pass = {
  9. // If you add/modify/remove Pass constants, also change the automatic GLSL constants
  10. // that start with 'czm_pass'
  11. //
  12. // Commands are executed in order by pass up to the translucent pass.
  13. // Translucent geometry needs special handling (sorting/OIT). The compute pass
  14. // is executed first and the overlay pass is executed last. Both are not sorted
  15. // by frustum.
  16. ENVIRONMENT: 0,
  17. COMPUTE: 1,
  18. GLOBE: 2,
  19. TERRAIN_CLASSIFICATION: 3,
  20. CESIUM_3D_TILE_EDGES: 4,
  21. CESIUM_3D_TILE: 5,
  22. CESIUM_3D_TILE_CLASSIFICATION: 6,
  23. CESIUM_3D_TILE_CLASSIFICATION_IGNORE_SHOW: 7,
  24. OPAQUE: 8,
  25. TRANSLUCENT: 9,
  26. VOXELS: 10,
  27. GAUSSIAN_SPLATS: 11,
  28. CESIUM_3D_TILE_EDGES_DIRECT: 12,
  29. OVERLAY: 13,
  30. NUMBER_OF_PASSES: 14,
  31. };
  32. Object.freeze(Pass);
  33. export default Pass;