public class ShaderLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ShaderLoader.ShaderType |
Modifier and Type | Field and Description |
---|---|
private int |
shader |
private int |
shaderAttachCount |
private java.lang.String |
shaderFilename |
private ShaderLoader.ShaderType |
shaderType |
Modifier | Constructor and Description |
---|---|
private |
ShaderLoader(ShaderLoader.ShaderType type,
int shaderId,
java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
void |
attachShader(ShaderManager manager) |
void |
deleteShader(ShaderManager manager) |
java.lang.String |
getShaderFilename() |
static ShaderLoader |
loadShader(IResourceManager resourceManager,
ShaderLoader.ShaderType type,
java.lang.String filename) |
private final ShaderLoader.ShaderType shaderType
private final java.lang.String shaderFilename
private final int shader
private int shaderAttachCount
private ShaderLoader(ShaderLoader.ShaderType type, int shaderId, java.lang.String filename)
public void attachShader(ShaderManager manager)
public void deleteShader(ShaderManager manager)
public java.lang.String getShaderFilename()
public static ShaderLoader loadShader(IResourceManager resourceManager, ShaderLoader.ShaderType type, java.lang.String filename) throws java.io.IOException
java.io.IOException