public class TexturedConstantShader extends ConstantShader
| Constructor and Description |
|---|
TexturedConstantShader() |
| Modifier and Type | Method and Description |
|---|---|
Color |
getDiffuse(ShadingState state) |
Color |
getRadiance(ShadingState state)
Gets the radiance for a specified rendering state.
|
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters.
|
scatterPhotonpublic boolean update(ParameterList pl, SunflowAPI api)
RenderObjectupdate in interface RenderObjectupdate in class ConstantShaderpl - list of parameters to read fromapi - reference to the current scenetrue if the update is succesfull,
false otherwisepublic Color getRadiance(ShadingState state)
ShadergetRadiance in interface ShadergetRadiance in class ConstantShaderstate - current render statepublic Color getDiffuse(ShadingState state)
Copyright © 2017. All rights reserved.