JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.demos.util.MiscUtils Class Reference
Collaboration diagram for com.jogamp.opengl.demos.util.MiscUtils:

Classes

class  StreamDump
 

Static Public Member Functions

static boolean atob (final String str, final boolean def)
 
static int atoi (final String str, final int def)
 
static long atol (final String str, final long def)
 
static float atof (final String str, final float def)
 
static String toHexString (final byte hex)
 
static String toHexString (final short hex)
 
static String toHexString (final int hex)
 
static String toHexString (final long hex)
 
static void assertFloatBufferEquals (final String errmsg, final FloatBuffer expected, final FloatBuffer actual, final float delta)
 
static void assertFloatBufferNotEqual (final String errmsg, final FloatBuffer expected, final FloatBuffer actual, final float delta)
 
static boolean setFieldIfExists (final Object instance, final String fieldName, final Object value)
 
static void waitForKey (final String preMessage)
 
static Font getSerifFont ()
 
static void dumpSharedGLContext (final String prefix, final GLContext self)
 
static void destroyWindow (final GLAutoDrawable glad)
 

Detailed Description

Definition at line 50 of file MiscUtils.java.

Member Function Documentation

◆ assertFloatBufferEquals()

static void com.jogamp.opengl.demos.util.MiscUtils.assertFloatBufferEquals ( final String  errmsg,
final FloatBuffer  expected,
final FloatBuffer  actual,
final float  delta 
)
static

Definition at line 103 of file MiscUtils.java.

◆ assertFloatBufferNotEqual()

static void com.jogamp.opengl.demos.util.MiscUtils.assertFloatBufferNotEqual ( final String  errmsg,
final FloatBuffer  expected,
final FloatBuffer  actual,
final float  delta 
)
static

Definition at line 129 of file MiscUtils.java.

◆ atob()

static boolean com.jogamp.opengl.demos.util.MiscUtils.atob ( final String  str,
final boolean  def 
)
static

Definition at line 51 of file MiscUtils.java.

Here is the caller graph for this function:

◆ atof()

static float com.jogamp.opengl.demos.util.MiscUtils.atof ( final String  str,
final float  def 
)
static

Definition at line 78 of file MiscUtils.java.

Here is the caller graph for this function:

◆ atoi()

static int com.jogamp.opengl.demos.util.MiscUtils.atoi ( final String  str,
final int  def 
)
static

Definition at line 60 of file MiscUtils.java.

Here is the caller graph for this function:

◆ atol()

static long com.jogamp.opengl.demos.util.MiscUtils.atol ( final String  str,
final long  def 
)
static

Definition at line 69 of file MiscUtils.java.

Here is the caller graph for this function:

◆ destroyWindow()

static void com.jogamp.opengl.demos.util.MiscUtils.destroyWindow ( final GLAutoDrawable  glad)
static

Definition at line 269 of file MiscUtils.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpSharedGLContext()

static void com.jogamp.opengl.demos.util.MiscUtils.dumpSharedGLContext ( final String  prefix,
final GLContext  self 
)
static

Definition at line 246 of file MiscUtils.java.

Here is the call graph for this function:

◆ getSerifFont()

static Font com.jogamp.opengl.demos.util.MiscUtils.getSerifFont ( )
static

Definition at line 175 of file MiscUtils.java.

Here is the call graph for this function:

◆ setFieldIfExists()

static boolean com.jogamp.opengl.demos.util.MiscUtils.setFieldIfExists ( final Object  instance,
final String  fieldName,
final Object  value 
)
static

Definition at line 150 of file MiscUtils.java.

◆ toHexString() [1/4]

static String com.jogamp.opengl.demos.util.MiscUtils.toHexString ( final byte  hex)
static

Definition at line 87 of file MiscUtils.java.

◆ toHexString() [2/4]

static String com.jogamp.opengl.demos.util.MiscUtils.toHexString ( final int  hex)
static

Definition at line 95 of file MiscUtils.java.

◆ toHexString() [3/4]

static String com.jogamp.opengl.demos.util.MiscUtils.toHexString ( final long  hex)
static

Definition at line 99 of file MiscUtils.java.

◆ toHexString() [4/4]

static String com.jogamp.opengl.demos.util.MiscUtils.toHexString ( final short  hex)
static

Definition at line 91 of file MiscUtils.java.

◆ waitForKey()

static void com.jogamp.opengl.demos.util.MiscUtils.waitForKey ( final String  preMessage)
static

Definition at line 167 of file MiscUtils.java.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: