|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme.scene.state.lwjgl.shader.LWJGLShaderUtil
public class LWJGLShaderUtil
Utility class for updating shadervariables(uniforms and attributes)
Constructor Summary | |
---|---|
LWJGLShaderUtil()
|
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 LWJGLShaderUtil()
Method Detail |
---|
public static void updateShaderUniform(ShaderVariable shaderVariable)
shaderVariable
- variable to updatepublic static void updateUniformLocation(ShaderVariable variable, int programID)
variable
- shadervaribale to update ID onprogramID
- shader program context IDpublic 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 |