Rings
Version 0.3

threeD.raytracer.graphics
Interface ColorProducer

All Superinterfaces:
Producer
All Known Subinterfaces:
Shader, Texture
All Known Implementing Classes:
BlendingShader, DiffuseShader, HighlightShader, ImageTexture, ReflectionShader, RefractionShader, RGB, 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.


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

Method Detail

evaluate

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

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

Rings
Version 0.3

Copyright 2003-05 Mike Murray