|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.scene.state.jogl.shader.JOGLShaderUtil
public class JOGLShaderUtil
Utility class for updating shadervariables(uniforms and attributes)
| Constructor Summary | |
|---|---|
JOGLShaderUtil()
|
|
| Method Summary | |
|---|---|
static void |
updateAttributeLocation(ShaderVariable variable,
int programID)
Update variableID for attribute shadervariable if needed. |
static void |
updateShaderAttribute(ShaderVariable shaderVariable)
Updates an attribute shadervariable. |
static void |
updateShaderUniform(ShaderVariable shaderVariable)
Updates a uniform shadervariable. |
static void |
updateUniformLocation(ShaderVariable variable,
int programID)
Update variableID for uniform shadervariable if needed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JOGLShaderUtil()
| Method Detail |
|---|
public static void updateShaderUniform(ShaderVariable shaderVariable)
shaderVariable - variable to update
public static void updateUniformLocation(ShaderVariable variable,
int programID)
variable - shadervaribale to update ID onprogramID - shader program context ID
public static void updateAttributeLocation(ShaderVariable variable,
int programID)
variable - shadervaribale to update ID onprogramID - shader program context IDpublic static void updateShaderAttribute(ShaderVariable shaderVariable)
shaderVariable - variable to update
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||