ShaderProgram(const Shader &vertex, const Shader &fragment)
Not supported by the Direct3D 12 and Metal renderers and the Vulkan renderer on Android,...
Lifetime object when the ShaderProgram is in use.
static void setUniform(int location, Rgb)
sets a vec3 to the color of the Rgb object
static void setUniform(int location, int v0)
Sets the Context's associated ShaderProgram's uniform.