Shader.create

Create a shader of the specified type.

If the shader is already created, nothing will happen if it is of the same type, or it is destroyed and (re)created if it is of a different type.

struct Shader
void
create

Meta