|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sunflow.core.shader.DiffuseShader
org.sunflow.core.shader.TexturedDiffuseShader
public class TexturedDiffuseShader
| Constructor Summary | |
|---|---|
TexturedDiffuseShader()
|
|
| 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.DiffuseShader |
|---|
getRadiance, scatterPhoton |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TexturedDiffuseShader()
| Method Detail |
|---|
public boolean update(ParameterList pl,
SunflowAPI api)
RenderObject
update in interface RenderObjectupdate in class DiffuseShaderpl - 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 DiffuseShader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||