Module shades::env

source · []
Expand description

Shader environments.

An environment is a set of expressions available to a shader stage to manipulate values coming from the outside of the stage. It’s akin to system environment (i.e. std::env::var), but for shaders.

Environment variables are typically set by the backend technology, such as OpenGL or Vulkan.

Traits

Environment.