Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## threeD.raytracer.engine
Interface Shader

All Superinterfaces:
  ColorProducer, Producer

All Known Implementing Classes:
  DiffuseShader, HighlightShader, ReflectionShader, RefractionShader, ShaderSet, TextureShader

public interface Shader
extends ColorProducer

The Shader interface is implemented by classes that provide a method for shading a surface.

Method Summary
`RGB` | `shade(ShaderParameters parameters)` Returns an RGB object that represents the shaded color calculated using the values of the specified ShaderParameters object.

Methods inherited from interface threeD.raytracer.graphics.ColorProducer
`evaluate`

Method Detail

### shade

    public RGB shade(ShaderParameters parameters)

  Returns an RGB object that represents the shaded color calculated using the values of the specified ShaderParameters object.

Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2003-05 Mike Murray