public interface JCGLImplementationFakeType extends JCGLImplementationType
| Modifier and Type | Method and Description |
|---|---|
JCGLContextType |
newContext(String name,
FakeShaderListenerType in_listener)
Construct a new context.
|
JCGLContextType |
newContextSharedWith(JCGLContextType c,
String name,
FakeShaderListenerType in_listener)
Construct a new context, shared with an existing context.
|
JCGLContextType newContext(String name, FakeShaderListenerType in_listener) throws JCGLException, JCGLExceptionUnsupported, JCGLExceptionNonCompliant
name - The name of the new contextin_listener - A shader listener that will be notified of shader
compilationsJCGLException - On errorsJCGLExceptionUnsupported - If the context is of a version that is
not supportedJCGLExceptionNonCompliant - If the implementation constraints yield
an implementation that is not OpenGL
compliantJCGLContextType newContextSharedWith(JCGLContextType c, String name, FakeShaderListenerType in_listener) throws JCGLException, JCGLExceptionUnsupported, JCGLExceptionNonCompliant
c - The existing contextname - The name of the new contextin_listener - A shader listener that will be notified of shader
compilationsJCGLException - On errorsJCGLExceptionUnsupported - If the context is of a version that is
not supportedJCGLExceptionNonCompliant - If the implementation constraints yield
an implementation that is not OpenGL
compliantCopyright © 2017 <code@io7m.com> http://io7m.com