Compiles the shader.
Returns the attribute layouts parsed from the tokens in the shader source.
Gets the ID for this shader as assigned by OpenGL.
Returns the texture layouts parsed from the tokens in the shader source.
Gets the shader type.
Sets an attribute layout.
Sets the shader source.
Sets a texture layout.
Creates the resources. It can now be used.
Releases the resource. It can not longer be used.
Returns true if the resource was created and is ready for use, false if otherwise.
Throws an exception if the resource hasn't been created yet.
Throws an exception if the resource has been created already.
Returns the lowest OpenGL version required by this object's implementation.
Represents an OpenGL shader. The shader source and type must be set with {@link #setSource(ShaderSource)}.