gestalt.candidates.shadow
Class JoglMaterialPluginShadowController

java.lang.Object
  extended by gestalt.candidates.shadow.JoglMaterialPluginShadowController
All Implemented Interfaces:
MaterialPlugin

public class JoglMaterialPluginShadowController
extends java.lang.Object
implements MaterialPlugin

this plugin enables single material to controll whether they receive shadows or not. in real life this plugin should just be used occassionally as the enabling and disabling process can be quite expensive.


Constructor Summary
JoglMaterialPluginShadowController(JoglShadowMap theShadowMapExtension)
           
 
Method Summary
 void begin(GLContext theRenderContext, Material theParent)
           
 void disableShadow()
           
 void enableShadow()
           
 void end(GLContext theRenderContext, Material theParent)
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglMaterialPluginShadowController

public JoglMaterialPluginShadowController(JoglShadowMap theShadowMapExtension)
Method Detail

isEnabled

public boolean isEnabled()

enableShadow

public void enableShadow()

disableShadow

public void disableShadow()

begin

public void begin(GLContext theRenderContext,
                  Material theParent)
Specified by:
begin in interface MaterialPlugin

end

public void end(GLContext theRenderContext,
                Material theParent)
Specified by:
end in interface MaterialPlugin


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009