hmi.graphics.opengl
Class GLShaders.Pool

java.lang.Object
  extended by hmi.graphics.opengl.GLShaders.Pool
Enclosing class:
GLShaders

private static class GLShaders.Pool
extends Object


Field Summary
private  String resourceDir
           
private  Resources resources
           
private  Map<String,GLShader> shaderCache
           
 
Constructor Summary
private GLShaders.Pool()
           
private GLShaders.Pool(String resourceDir)
           
 
Method Summary
private  GLShader getCachedGLShader(String shaderName)
           
 GLShader getGLShader(String shaderName)
           
 String getResourceDir()
           
private  GLShader loadGLShader(String shaderName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceDir

private String resourceDir

resources

private Resources resources

shaderCache

private Map<String,GLShader> shaderCache
Constructor Detail

GLShaders.Pool

private GLShaders.Pool()

GLShaders.Pool

private GLShaders.Pool(String resourceDir)
Method Detail

getResourceDir

public String getResourceDir()

getGLShader

public GLShader getGLShader(String shaderName)
                     throws IOException
Throws:
IOException

getCachedGLShader

private GLShader getCachedGLShader(String shaderName)

loadGLShader

private GLShader loadGLShader(String shaderName)
                       throws IOException
Throws:
IOException