|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.scilab.forge.scirenderer.implementation.jogl.utils.GLShortCuts
public final class GLShortCuts
Utility class for common OpenGl calls.
| Method Summary | |
|---|---|
static void |
setEnable(GL2 gl,
int option,
boolean status)
Enable or disable GL option. |
static void |
useColor(GL2 gl,
Color color)
Set the OpenGl context color to the given color. |
static void |
useLineAppearance(GL2 gl,
Appearance appearance)
Set the OpenGl context line appearance from the given appearance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void useLineAppearance(GL2 gl,
Appearance appearance)
gl - the OpenGl context.appearance - the appearance to use.
public static void useColor(GL2 gl,
Color color)
gl - the OpenGl context.color - the color to use.
public static void setEnable(GL2 gl,
int option,
boolean status)
gl - the current gl.option - the option to change.status - the new option status.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||