const
The const keyword is used to declare a global constant, which is then available in the rest of the script.
Example:
const ivec2 RESOLUTION = ivec2(640, 480);
The const keyword is used to declare a global constant, which is then available in the rest of the script.
Example:
const ivec2 RESOLUTION = ivec2(640, 480);