net.sf.j3d.threeD.raytracer.graphics
Interface ColorProducer

All Superinterfaces:
Producer
All Known Subinterfaces:
Shader, Texture
All Known Implementing Classes:
AverageColor, BlendingShader, CheckerBoardShader, DiffuseShader, HighlightShader, ImageTexture, RandomColorGenerator, ReflectionShader, RefractionShader, RGB, RigidBodyStateShader, ShaderSet, SilhouetteShader, StripeTexture, TextureShader

public interface ColorProducer
extends Producer

ColorProducer is implemented by any class that can produce an RGB object given some array of input objects.

Author:
Mike Murray

Method Summary
 RGB evaluate(Object[] args)
          Produces a color using the specified arguments.
 

Method Detail

evaluate

RGB evaluate(Object[] args)
Produces a color using the specified arguments.

Parameters:
args - Arguments.
Returns:
The RGB color produced.