mi::shader::LightList Class Reference

manage iteration over light sources, only used internally by LightIterator class More...

#include <mi_shader_if.h>

List of all members.


Public Member Functions

virtual size_t  set_current (size_t current)=0
  set current light
virtual size_t  get_current () const =0
  get current light index
virtual bool  sample ()=0
  sample light source
virtual miScalar  get_dot_nl () const =0
  dot prod. light dir, normal
virtual const miVector &  get_direction () const =0
  get direction of sample
virtual void  get_contribution (miColor *c) const =0
  get color contribution
virtual void  get_contribution (miSpectrum *s) const =0
  get spectrum contribution
virtual int  get_number_of_samples () const =0
  get current number of samples
virtual miTag  get_light_tag (size_t current) const =0
  get current light tag
virtual size_t  get_number_of_lights () const =0
  get number of lights in list
virtual void  connect ()=0
  used for reference counting
virtual void  release ()=0
  release resource if not ref'ed

Detailed Description

manage iteration over light sources, only used internally by LightIterator class
The documentation for this class was generated from the following file:



Copyright © 1986-2006 by mental images GmbH