hmi.graphics.opengl
Class GLShaders.Pool
java.lang.Object
hmi.graphics.opengl.GLShaders.Pool
- Enclosing class:
- GLShaders
private static class GLShaders.Pool
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceDir
private String resourceDir
resources
private Resources resources
shaderCache
private Map<String,GLShader> shaderCache
GLShaders.Pool
private GLShaders.Pool()
GLShaders.Pool
private GLShaders.Pool(String resourceDir)
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