Package org.sunflow.core
Class ShadingCache
- java.lang.Object
-
- org.sunflow.core.ShadingCache
-
public class ShadingCache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShadingCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ShadingState state, Shader shader, Color c)
Color
lookup(ShadingState state, Shader shader)
void
reset()
-
-
-
Method Detail
-
reset
public void reset()
-
lookup
public Color lookup(ShadingState state, Shader shader)
-
add
public void add(ShadingState state, Shader shader, Color c)
-
-