com.jogamp.opengl.impl
Class ExtensionAvailabilityCache

java.lang.Object
  extended by com.jogamp.opengl.impl.ExtensionAvailabilityCache

public final class ExtensionAvailabilityCache
extends Object

A utility object intended to be used by implementations to act as a cache of which OpenGL extensions are currently available on both the host machine and display.


Method Summary
 void flush()
          Flush the cache.
 String getGLExtensions()
           
 String getPlatformExtensionsString()
           
 boolean isExtensionAvailable(String glExtensionName)
           
 boolean isInitialized()
           
 void reset()
          Flush the cache and rebuild the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

flush

public void flush()
Flush the cache. The cache will be rebuilt lazily as calls to isExtensionAvailable(String) are received.


reset

public void reset()
Flush the cache and rebuild the cache.


isInitialized

public boolean isInitialized()

isExtensionAvailable

public boolean isExtensionAvailable(String glExtensionName)

getPlatformExtensionsString

public String getPlatformExtensionsString()

getGLExtensions

public String getGLExtensions()


Copyright 2010 JogAmp Community.