mi::shader::LightIterator Class Reference

iterate over light sources More...

#include <mi_shader_if.h>

List of all members.


Public Member Functions

  LightIterator (miState *state, miTag *shader_light_list=0, int n_shader_lights=0)
  construct from state and optional shader light list
  LightIterator (const LightIterator &liter)
  copy constructor needed to return LightIterators from methods
  ~LightIterator ()
  delete LightIterator
miTag  operator * () const
  LightIterator acts like pointer, allow to dereference.
LightList operator-> () const
  access to light list from iterator
const LightIterator operator++ ()
  pre-increment LightIterator
LightIterator  operator++ (int)
  post-increment LightIterator
bool  at_end () const
  check if iterator has reached end
const LightIterator operator= (const LightIterator &iter)
  assign LightIterator
bool  operator== (const LightIterator &iter) const
  compare LightIterators for equality

Detailed Description

iterate over light sources

Constructor & Destructor Documentation

mi::shader::LightIterator::LightIterator miState *  state,
miTag *  shader_light_list = 0,
int  n_shader_lights = 0
[inline]
 

construct from state and optional shader light list

Parameters:
state  use to create iter within shader

The documentation for this class was generated from the following file:



Copyright © 1986-2006 by mental images GmbH