| Modifier and Type | Method and Description |
|---|---|
void |
UniformManager.registerUniform(Shader shader,
Uniform uniform)
This should register the uniform to the given shader on the graphics card
|
void |
BasicUniformManager.setUniform(Shader shader,
Uniform uniform) |
void |
UniformManager.setUniform(Shader shader,
Uniform uniform)
This will determine if the uniform should be set and if and only if
will determine the type of value and set the data accordingly.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Shader.handle(Uniform uniform,
Transform transform,
Material material,
RenderEngine renderEngine,
Matrix4f projection) |
protected void |
ShadowGenerator.handle(Uniform uniform,
Transform transform,
Material material,
RenderEngine renderEngine,
Matrix4f projection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Wireframe.handle(Uniform uniform,
Transform transform,
Material material,
RenderEngine renderEngine,
Matrix4f projection) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Uniform> |
GLSLProgram.cachedExpandedUniforms |
protected Map<String,Uniform> |
GLSLProgram.cachedUniforms |
| Modifier and Type | Method and Description |
|---|---|
Uniform |
GLSLProgram.getExpandedUniform(String name) |
Uniform |
GLSLProgram.getUniform(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Uniform> |
GLSLProgram.getExpandedUniforms() |
List<Uniform> |
GLSLParser.getExpandedUniforms(String text,
List<Variable> uniforms,
List<GLSLStruct> structs)
Expands all uniforms for adding to the shader programm
|
List<Uniform> |
GLSLProgram.getUniforms() |
| Modifier and Type | Field and Description |
|---|---|
protected List<Uniform> |
GLSLScript.expandedUniforms |
protected List<Uniform> |
GLSLScript.uniforms |
| Modifier and Type | Method and Description |
|---|---|
List<Uniform> |
GLSLScript.getExpandedUniforms() |
List<Uniform> |
GLSLScript.getUniforms() |
| Modifier and Type | Method and Description |
|---|---|
void |
Uniform.SetStrategy.set(Uniform uniform,
UniformManager uniformManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
GLSLScript.setExpandedUniforms(List<Uniform> expandedUniforms) |
void |
GLSLScript.setUniforms(List<Uniform> uniforms) |
| Modifier and Type | Method and Description |
|---|---|
void |
LWJGLUniformManager.registerUniform(Shader shader,
Uniform uniform) |
Copyright © 2015. All rights reserved.