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.

  1. this(ShaderType t)
  2. void create(ShaderType t)
    struct Shader
    void
    create

Meta