Public Member Functions
AtClosureList Struct Reference

Public Member Functions

AI_DEVICE AtClosureList ()
 Create empty closure list.
 
AI_DEVICE AtClosureList (AtClosure data_)
 Create closure list from single closure.
 
AI_DEVICE AtClosureList (AtBSDF *data_)
 Create closure list from single BSDF.
 
AI_DEVICE AtClosure front ()
 First element in the list.
 
AI_DEVICE void add (AtClosure closure)
 Add closure to closure list.
 
AI_DEVICE void add (AtBSDF *bsdf)
 Add BSDF to closure list.
 
AI_DEVICE void add (AtClosureList list)
 Add closure list to closure list.
 
AI_DEVICE void operator*= (const AtRGB &weight)
 Multiply weight of all closures in the list.
 
AI_DEVICE void operator*= (float weight)
 Multiply weight of all closures in the list.
 
AI_DEVICE bool empty () const
 Test if list is empty.
 

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

© 2009-2018 Solid Angle SL · all rights reserved · www.solidangle.com