|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sunflow.core.shader.ShinyDiffuseShader
org.sunflow.core.shader.TexturedShinyDiffuseShader
public class TexturedShinyDiffuseShader
Constructor Summary | |
---|---|
TexturedShinyDiffuseShader()
|
Method Summary | |
---|---|
Color |
getDiffuse(ShadingState state)
|
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters. |
Methods inherited from class org.sunflow.core.shader.ShinyDiffuseShader |
---|
getRadiance, scatterPhoton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TexturedShinyDiffuseShader()
Method Detail |
---|
public boolean update(ParameterList pl, SunflowAPI api)
RenderObject
update
in interface RenderObject
update
in class ShinyDiffuseShader
pl
- list of parameters to read fromapi
- reference to the current scene
true
if the update is succesfull,
false
otherwisepublic Color getDiffuse(ShadingState state)
getDiffuse
in class ShinyDiffuseShader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |