shader
Interface IShaderOp

All Known Implementing Classes:
AreaLightShaderOp, DirectLightingShaderOp, EmissionShaderOp, PathtracingShaderOp, ReflectionShaderOp, RefractionShaderOp

public interface IShaderOp


Method Summary
 void performOperation(IntersectionInfo intersection, RayState rs, RGBColor color, ScatteredRayContainer raycon, Scene scene)
          computes the color
 boolean requireSPF()
          does the shader op needs the SPF
 

Method Detail

performOperation

void performOperation(IntersectionInfo intersection,
                      RayState rs,
                      RGBColor color,
                      ScatteredRayContainer raycon,
                      Scene scene)
computes the color

Parameters:
intersection - [in] intersection info
rs - [in] actual state of the ray
color - [out] color of the intersection
raycon - [in/out] the ray container
scene - [in]

requireSPF

boolean requireSPF()
does the shader op needs the SPF

Returns:
true if it needs spf