public class GLUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int |
genBuffer(javax.media.opengl.GL gl) |
static int |
genTexture(javax.media.opengl.GL gl) |
static javax.media.opengl.GLProfile |
getDefaultGLProfile() |
static int |
getGLTextureDim(int ndim) |
static int |
getGLTextureUnit(int texUnit) |
static javax.media.opengl.GLOffscreenAutoDrawable |
newOffscreenDrawable() |
static javax.media.opengl.GLOffscreenAutoDrawable |
newOffscreenDrawable(javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLProfile profile,
javax.media.opengl.GLContext sharedContext) |
static javax.media.opengl.GLOffscreenAutoDrawable |
newOffscreenDrawable(javax.media.opengl.GLContext sharedContext) |
static javax.media.opengl.GLOffscreenAutoDrawable |
newOffscreenDrawable(javax.media.opengl.GLProfile profile) |
static javax.media.opengl.GLOffscreenAutoDrawable |
newOffscreenDrawable(javax.media.opengl.GLProfile profile,
javax.media.opengl.GLContext sharedContext) |
static javax.media.opengl.GLOffscreenAutoDrawable |
newOffscreenDrawable(String profileName) |
static Runnable |
newPaintJob(GlimpseCanvas canvas) |
static String |
profileNameOf(javax.media.opengl.GLContext context) |
static String |
profileNameOf(javax.media.opengl.GLContext context,
String fallback)
Returns the profile-name of the given context, or the given fallback if context is null.
|
static boolean |
queryGLBoolean(int param,
javax.media.opengl.GL gl) |
static int |
queryGLInteger(int param,
javax.media.opengl.GL gl) |
static void |
setLookAndFeel(LookAndFeel laf,
GlimpseTarget... targets) |
static com.jogamp.opengl.util.FPSAnimator |
startFpsAnimator(int fps,
GlimpseCanvas... canvases) |
public static int genBuffer(javax.media.opengl.GL gl)
public static int genTexture(javax.media.opengl.GL gl)
public static int queryGLInteger(int param, javax.media.opengl.GL gl)
public static boolean queryGLBoolean(int param, javax.media.opengl.GL gl)
public static int getGLTextureDim(int ndim)
public static int getGLTextureUnit(int texUnit)
public static javax.media.opengl.GLOffscreenAutoDrawable newOffscreenDrawable()
public static javax.media.opengl.GLOffscreenAutoDrawable newOffscreenDrawable(String profileName)
public static javax.media.opengl.GLOffscreenAutoDrawable newOffscreenDrawable(javax.media.opengl.GLProfile profile)
public static javax.media.opengl.GLOffscreenAutoDrawable newOffscreenDrawable(javax.media.opengl.GLContext sharedContext)
public static javax.media.opengl.GLOffscreenAutoDrawable newOffscreenDrawable(javax.media.opengl.GLProfile profile, javax.media.opengl.GLContext sharedContext)
public static javax.media.opengl.GLOffscreenAutoDrawable newOffscreenDrawable(javax.media.opengl.GLCapabilities caps, javax.media.opengl.GLProfile profile, javax.media.opengl.GLContext sharedContext)
public static javax.media.opengl.GLProfile getDefaultGLProfile()
public static String profileNameOf(javax.media.opengl.GLContext context)
public static String profileNameOf(javax.media.opengl.GLContext context, String fallback)
public static com.jogamp.opengl.util.FPSAnimator startFpsAnimator(int fps, GlimpseCanvas... canvases)
public static Runnable newPaintJob(GlimpseCanvas canvas)
public static void setLookAndFeel(LookAndFeel laf, GlimpseTarget... targets)
Copyright © 2016 Metron, Inc.. All rights reserved.