RixLPE Class Reference

Inheritance diagram for RixLPE:

Classes

class  SplatHelper
 

Public Types

enum  RixLPEBuiltInTokens {
  k_NULL = 0, k_NONE, k_CAMERA, k_LIGHT,
  k_OBJECT, k_TRANSMIT, k_REFLECT, k_STOP,
  k_BLANK, k_LAMBDA, k_DOT, k_DIFFUSE1,
  k_DIFFUSE2, k_DIFFUSE3, k_DIFFUSE4, k_SPECULAR1,
  k_SPECULAR2, k_SPECULAR3, k_SPECULAR4, k_SPECULAR5,
  k_SPECULAR6, k_SPECULAR7, k_SPECULAR8, k_USER1,
  k_USER2, k_USER3, k_USER4, k_USER5,
  k_USER6, k_USER7, k_USER8, k_EVERYLOBE,
  k_EVERYDIFFUSE, k_EVERYSPECULAR, k_EVERYUSER, k_numBuiltinTokens
}
 The built-in LPE tokens.
 
enum  RixLPEFlags {
  k_FlagWithOcclusion = 0x1, k_FlagWithThruput = 0x2, k_FlagWithClamp = 0x4, k_FlagShadowsOnly = 0x8,
  k_FlagHoldOut = 0x10, k_FlagOverwrite = 0x20, k_FlagNoInfiniteCheck = 0x40
}
 
enum  OverwritePolicy { k_Ignore, k_Overwrite, k_Accumulate }
 
typedef RixLPEState State
 

Public Member Functions

virtual RixLPEStateAllocateStates (int count)=0
 
virtual void FreeStates (int count, RixLPEState *states)=0
 Free an array of RixLPEState instances.
 
PRMAN_INLINE bool AnyLPEs () const
 Return true if there are any light path expression AOVs.
 
PRMAN_INLINE bool AnyShadowLPEs () const
 Return true if there are any shadow light path expression AOVs.
 
PRMAN_INLINE bool AnyCustomLPEs () const
 Return true if there are any custom light path expressions.
 
PRMAN_INLINE bool AnyHoldOutLPEs () const
 Return true if there are any holdout light path expressions.
 

Static Public Member Functions

static PRMAN_INLINE RixLPEToken LgtGrpIdToToken (RtInt lgtGrpId)
 Convert an integer light group id to an LPE token.
 

Static Public Attributes

static const int k_baseLgtGrpTokenOffset = k_numBuiltinTokens
 

Protected Member Functions

virtual ~RixLPE ()
 The destructor is protected: no need to delete RixLPE instances.
 

Protected Attributes

bool m_anyLPEs
 True if there are any light path expression AOVs.
 
bool m_anyShadowLPEs
 True if there are any shadow light path expression AOVs.
 
bool m_anyCustomLPEs
 True if there are any custom light path expressions.
 
bool m_anyHoldOutLPEs
 True if there are any holdout light path expression AOVs.
 
RixChannelId m_beautyChanId
 The channel id of the beauty pass.
 

Member Enumeration Documentation

Flags that control various aspects of what is written to the framebuffer for LPE AOVs.

Member Function Documentation

virtual RixLPEState* RixLPE::AllocateStates ( int  count)
pure virtual

Allocate and initialize an array of size 'count' of RixLPEState instances.


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