30package com.jogamp.opengl;
OpenGL buffer storage object reflecting it's.
Abstraction for an OpenGL rendering context.
A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeExceptio...
Specifies the the OpenGL profile.
GLES1 getGLES1()
Casts this object to the GLES1 interface.
boolean isGL2GL3()
Indicates whether this GL object conforms to a GL2GL3 compatible profile.
boolean isGLES2Compatible()
Indicates whether this GL object is compatible with the core OpenGL ES2 functionality.
boolean isVBOElementArrayBound()
boolean isGL2ES1()
Indicates whether this GL object conforms to a GL2ES1 compatible profile.
GL4ES3 getGL4ES3()
Casts this object to the GL4ES3 interface.
boolean hasGLSL()
Indicates whether this GL object supports GLSL.
boolean hasBasicFBOSupport()
Returns true if basic FBO support is available, otherwise false.
GL getGL()
Casts this object to the GL interface.
boolean isTextureFormatBGRA8888Available()
boolean isGLES()
Indicates whether this GL object conforms to one of the OpenGL ES profiles, see isGLES1(),...
GL2ES1 getGL2ES1()
Casts this object to the GL2ES1 interface.
boolean isGL4bc()
Indicates whether this GL object conforms to the OpenGL ≥ 4.0 compatibility profile.
boolean isGL3ES3()
Indicates whether this GL object conforms to a GL3ES3 compatible profile.
int getMaxRenderbufferSamples()
Returns the maximum number of FBO RENDERBUFFER samples if full FBO is supported, otherwise false.
int getBoundFramebuffer(int target)
Return the framebuffer name bound to this context, see GL#glBindFramebuffer(int, int).
int getBoundBuffer(int target)
int getDefaultDrawFramebuffer()
Return the default draw framebuffer name.
boolean isGL2ES3()
Indicates whether this GL object conforms to a either a GL2GL3 or GL3ES3 compatible profile.
boolean isGLES32Compatible()
Indicates whether this GL object is compatible with the core OpenGL ES3.2 functionality.
GL2ES2 getGL2ES2()
Casts this object to the GL2ES2 interface.
GL4 getGL4()
Casts this object to the GL4 interface.
boolean isNPOTTextureAvailable()
Returns true if the GL context supports non power of two (NPOT) textures, otherwise false.
GLProfile getGLProfile()
Returns the GLProfile associated with this GL object.
GL3 getGL3()
Casts this object to the GL3 interface.
void setSwapInterval(int interval)
Set the swap interval of the current context and attached onscreen GLDrawable.
boolean isGL3()
Indicates whether this GL object conforms to the OpenGL ≥ 3.1 core profile.
void glDepthRange(double zNear, double zFar)
Aliased entrypoint of void {@native glDepthRange}(GLclampd depth); and void {@native glDepthRangef...
boolean isGL2()
Indicates whether this GL object conforms to the OpenGL ≤ 3.0 profile.
boolean isGL2ES2()
Indicates whether this GL object conforms to a GL2ES2 compatible profile.
GLBufferStorage mapBufferRange(final int target, final long offset, final long length, final int access)
Returns the GLBufferStorage instance as mapped via OpenGL's native glMapBufferRange(....
GL3bc getGL3bc()
Casts this object to the GL3bc interface.
boolean isExtensionAvailable(String glExtensionName)
Returns true if the specified OpenGL extension can be used successfully through this GL instance give...
boolean isGLES1()
Indicates whether this GL object conforms to the OpenGL ES ≥ 1.0 profile.
GLContext getContext()
Returns the GLContext associated which this GL object.
GLBufferStorage getBufferStorage(int bufferName)
boolean isFunctionAvailable(String glFunctionName)
Returns true if the specified OpenGL core- or extension-function can be used successfully through thi...
boolean isGLcore()
Indicates whether this GL object uses a GL core profile.
boolean isGL4core()
Indicates whether this GL object uses a GL4 core profile.
void glClearDepth(double depth)
Aliased entrypoint of void {@native glClearDepth}(GLclampd depth); and void {@native glClearDepthf...
GLES2 getGLES2()
Casts this object to the GLES2 interface.
boolean isGLES3()
Indicates whether this GL object conforms to the OpenGL ES ≥ 3.0 profile.
GL2ES3 getGL2ES3()
Casts this object to the GL2ES3 interface.
boolean isGL4ES3()
Returns true if this GL object conforms to a GL4ES3 compatible profile, i.e.
GL2 getGL2()
Casts this object to the GL2 interface.
boolean isGL3core()
Indicates whether this GL object uses a GL3 core profile.
int getDefaultDrawBuffer()
Returns the default color buffer within the current bound getDefaultReadFramebuffer(),...
int getDefaultReadBuffer()
Returns the default color buffer within the current bound getDefaultReadFramebuffer(),...
GL getRootGL()
Returns the implementing root instance, considering a wrapped pipelined hierarchy,...
GLBufferStorage mapBuffer(int target, int access)
Returns the GLBufferStorage instance as mapped via OpenGL's native glMapBuffer(..) implementation.
Object getExtension(String extensionName)
Returns an object providing access to the specified OpenGL extension.
GLES3 getGLES3()
Casts this object to the GLES3 interface.
int getSwapInterval()
Return the current swap interval.
GL3ES3 getGL3ES3()
Casts this object to the GL3ES3 interface.
GL4bc getGL4bc()
Casts this object to the GL4bc interface.
boolean isGL3bc()
Indicates whether this GL object conforms to the OpenGL ≥ 3.1 compatibility profile.
boolean isGLES31Compatible()
Indicates whether this GL object is compatible with the core OpenGL ES3.1 functionality.
boolean isGL4()
Indicates whether this GL object conforms to the OpenGL ≥ 4.0 core profile.
boolean isGLES3Compatible()
Indicates whether this GL object is compatible with the core OpenGL ES3 functionality.
boolean isGL()
Indicates whether this GL object conforms to any of the OpenGL profiles.
GL2GL3 getGL2GL3()
Casts this object to the GL2GL3 interface.
boolean isVBOArrayBound()
boolean hasFullFBOSupport()
Returns true if full FBO support is available, otherwise false.
GL getDownstreamGL()
Returns the downstream GL instance in case this is a wrapping pipeline, otherwise null.
Object getPlatformGLExtensions()
Returns an object through which platform-specific OpenGL extensions (EGL, GLX, WGL,...
int getDefaultReadFramebuffer()
Return the default read framebuffer name.
boolean isGLES2()
Indicates whether this GL object conforms to the OpenGL ES ≥ 2.0 profile.