java.lang.Object
de.grogra.glsl.renderable.GLSLRenderable
de.grogra.glsl.renderable.GLSLPlane
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateShader
(OpenGLState glState, GLSLDisplay disp, Shader shader, boolean depthonly) void
draw
(OpenGLState glState, RenderState rs) void
drawAlt
(OpenGLState glState, GLSLDisplay rs) findShader
(OpenGLState glState, GLSLDisplay disp, Shader shader) Since planes do not have internal values just share the whole planeClass<?>
boolean
isShaderDependant
(boolean depthonly) void
updateInstance
(Object reference, Object state, boolean asNode, GraphState gs)
-
Constructor Details
-
GLSLPlane
public GLSLPlane()
-
-
Method Details
-
drawAlt
- Overrides:
drawAlt
in classGLSLRenderable
-
draw
- Specified by:
draw
in classGLSLRenderable
-
getInstance
Since planes do not have internal values just share the whole plane- Specified by:
getInstance
in classGLSLRenderable
-
instanceFor
- Specified by:
instanceFor
in classGLSLRenderable
-
updateInstance
- Specified by:
updateInstance
in classGLSLRenderable
-
isShaderDependant
public boolean isShaderDependant(boolean depthonly) - Overrides:
isShaderDependant
in classGLSLRenderable
-
activateShader
- Overrides:
activateShader
in classGLSLRenderable
-
findShader
- Overrides:
findShader
in classGLSLRenderable
-