I googled some functions like czm_windowToEyeCoordinates
, but almost all the results are linked to the documentation for old versions of CesiumJS.
I don’t think there is a proper doc. The Custom Shader Guide does not list those builtin functions or variables, but you can find them all here:
Very helpful! Thanks a lot!
Maybe in this site: Cesium Documentation
@Dorian This doc is over 10 years old and was a beta release.
The current doc can always be found at Index - Cesium Documentation
Some archeology: Yes, the documentation did no longer show up at some point and when this was brought up later, the justification seemed to be that these functions are technically “private”, but the use of these builtins in custom shaders does raise questions: Which of them can be used, and where are they documented?
In the meantime, the only “source of truth” is the link that anneg already gave:
One should be aware that these are not necessarily part of a “public, stable API” (although some of them are very unlikely to change)
I understand that this documentation might be outdated, but it contains explanations of GLSL built-in variables and functions. The new documentation only includes the JavaScript API section, which I think is not very friendly for developers who need to work on low-level development. Could you consider compiling the GLSL documentation along with the rest, as was done before?