@EqualityReference public final class RExceptionNotSupported extends RException
Modifier and Type | Method and Description |
---|---|
static RExceptionNotSupported |
deferredRenderingNotSupported()
Construct an exception with an informative message explaining why
deferred rendering is not available.
|
static RExceptionNotSupported |
notEnoughDrawBuffers(String name,
int supported_buffers,
int required_buffers)
Construct an exception with an informative message explaining why a
particular program is not available.
|
static RExceptionNotSupported |
programNotSupported(String name,
Set<com.io7m.jparasol.core.GVersionES> es,
Set<com.io7m.jparasol.core.GVersionFull> full)
Construct an exception with an informative message explaining why a
particular program is not available.
|
static RExceptionNotSupported |
varianceShadowMapsNotSupported()
Construct an exception with an informative message explaining why
variance shadow maps are not available.
|
static RExceptionNotSupported |
versionNotSupported(com.io7m.jcanephora.JCGLVersion v)
Construct an exception with an informative message explaining that the
renderer does not support the current version of OpenGL.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static RExceptionNotSupported versionNotSupported(com.io7m.jcanephora.JCGLVersion v)
v
- The current OpenGL version.public static RExceptionNotSupported deferredRenderingNotSupported()
public static RExceptionNotSupported notEnoughDrawBuffers(String name, int supported_buffers, int required_buffers)
name
- The program name.supported_buffers
- The number of supported draw buffers.required_buffers
- The number of required draw buffers.public static RExceptionNotSupported programNotSupported(String name, Set<com.io7m.jparasol.core.GVersionES> es, Set<com.io7m.jparasol.core.GVersionFull> full)
name
- The program name.es
- The supported GLSL ES versions.full
- The supported GLSL versions.public static RExceptionNotSupported varianceShadowMapsNotSupported()
Copyright © 2015 <code@io7m.com> http://io7m.com