com.jogamp.opengl.impl.glu.gl2
Class GLUgl2ProcAddressTable

java.lang.Object
  extended by com.jogamp.gluegen.runtime.ProcAddressTable
      extended by com.jogamp.opengl.impl.glu.gl2.GLUgl2ProcAddressTable

public class GLUgl2ProcAddressTable
extends ProcAddressTable

This table is a cache of pointers to the dynamically-linkable C library.

See Also:
ProcAddressTable

Field Summary
 long _addressof_gluBuild1DMipmapLevelsC
           
 long _addressof_gluBuild1DMipmapsC
           
 long _addressof_gluBuild2DMipmapLevelsC
           
 long _addressof_gluBuild2DMipmapsC
           
 long _addressof_gluBuild3DMipmapLevelsC
           
 long _addressof_gluBuild3DMipmapsC
           
 long _addressof_gluScaleImageC
           
 
Fields inherited from class com.jogamp.gluegen.runtime.ProcAddressTable
DEBUG, DEBUG_PREFIX, debugNum, PROCADDRESS_VAR_PREFIX
 
Constructor Summary
GLUgl2ProcAddressTable()
           
GLUgl2ProcAddressTable(FunctionAddressResolver resolver)
           
 
Method Summary
 long getAddressFor(String functionNameUsr)
          This is a convenience method to get (by name) the native function pointer for a given function.
 
Methods inherited from class com.jogamp.gluegen.runtime.ProcAddressTable
fieldForFunction, fieldToFunctionName, getDebugOutStream, getNullPointerFunctions, initEntry, isAddressField, isFunctionAvailable, reset, setEntry, toMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_addressof_gluBuild1DMipmapLevelsC

public long _addressof_gluBuild1DMipmapLevelsC

_addressof_gluBuild1DMipmapsC

public long _addressof_gluBuild1DMipmapsC

_addressof_gluBuild2DMipmapLevelsC

public long _addressof_gluBuild2DMipmapLevelsC

_addressof_gluBuild2DMipmapsC

public long _addressof_gluBuild2DMipmapsC

_addressof_gluBuild3DMipmapLevelsC

public long _addressof_gluBuild3DMipmapLevelsC

_addressof_gluBuild3DMipmapsC

public long _addressof_gluBuild3DMipmapsC

_addressof_gluScaleImageC

public long _addressof_gluScaleImageC
Constructor Detail

GLUgl2ProcAddressTable

public GLUgl2ProcAddressTable()

GLUgl2ProcAddressTable

public GLUgl2ProcAddressTable(FunctionAddressResolver resolver)
Method Detail

getAddressFor

public long getAddressFor(String functionNameUsr)
This is a convenience method to get (by name) the native function pointer for a given function. It lets you avoid having to manually compute the "_addressof_ + <functionName>" member variable name and look it up via reflection; it also will throw an exception if you try to get the address of an unknown function, or one that is statically linked and therefore does not have a function pointer in this table.

Overrides:
getAddressFor in class ProcAddressTable
Throws:
RuntimeException - if the function pointer was not found in this table, either because the function was unknown or because it was statically linked.


Copyright 2010 JogAmp Community.