shader-kind


Vocabulary
gpu.shaders

Class description
A shader-kind value is passed as part of a GLSL-SHADER: or GLSL-SHADER-FILE: definition to indicate the kind of shader being defined.
vertex-shaders run during primitive assembly and map input vertex data to positions in screen space for rasterization.
fragment-shaders run as part of rasterization and decide the final rendered output of a primitive as the outputs of the vertex shader are interpolated across its surface.


Definition