Class ShaderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
foundry.veil.api.client.render.shader.ShaderException
All Implemented Interfaces:
Serializable

public class ShaderException extends Exception
An exception used to indicate shader compilation and linking issues.
See Also:
  • Constructor Details

    • ShaderException

      public ShaderException(String error)
    • ShaderException

      public ShaderException(String error, @Nullable @Nullable String glError)
  • Method Details

    • getGlError

      @Nullable public @Nullable String getGlError()
      Returns:
      The OpenGL shader error.