RenderManAPI  24.0
RixBXLobeSampled Struct Reference

This struct represents the characteristics of just one lobe of a bxdf. More...

#include <RixBxdfLobe.h>

Classes

struct  Bitfield
 
union  Converter
 

Public Member Functions

PRMAN_INLINE RixBXLobeSampled ()
 Constructor; initializes the valid bit to false. More...
 
PRMAN_INLINE RixBXLobeSampled (unsigned short serialized)
 Constructor; initializes from serialization as unsigned short. More...
 
PRMAN_INLINE RixBXLobeSampled (bool discrete, bool specular, bool reflect, bool user, unsigned char lpeId, unsigned char lobeId)
 Constructor; sets all fields and sets the valid bit to true. More...
 
PRMAN_INLINE bool CompareLobeID (RixBXLobeSampled const &rhs) const
 
PRMAN_INLINE bool GetValid () const
 
PRMAN_INLINE bool GetDiscrete () const
 
PRMAN_INLINE bool GetSolidAngle () const
 
PRMAN_INLINE bool GetDiffuse () const
 
PRMAN_INLINE bool GetSpecular () const
 
PRMAN_INLINE bool GetReflect () const
 
PRMAN_INLINE bool GetTransmit (bool *entering=NULL) const
 
PRMAN_INLINE bool GetEntering () const
 
PRMAN_INLINE bool GetContinuation () const
 
PRMAN_INLINE bool GetScattering () const
 
PRMAN_INLINE bool GetUser () const
 
PRMAN_INLINE unsigned char GetLpeId () const
 
PRMAN_INLINE unsigned char GetLobeId () const
 
PRMAN_INLINE bool LobeIdIsSubsurface () const
 
PRMAN_INLINE bool GetThinShadowFlag () const
 
PRMAN_INLINE unsigned char GetUnused () const
 
PRMAN_INLINE void SetValid (bool val)
 
PRMAN_INLINE void SetDiscrete (bool val)
 
PRMAN_INLINE void SetSpecular (bool val)
 
PRMAN_INLINE void SetReflect ()
 
PRMAN_INLINE void SetTransmit (bool entering)
 
PRMAN_INLINE void SetEntering (bool entering)
 
PRMAN_INLINE void SetContinuation (bool val)
 
PRMAN_INLINE void SetUser (bool val)
 
PRMAN_INLINE void SetLpeId (unsigned char val)
 
PRMAN_INLINE void SetLobeId (unsigned char val)
 
PRMAN_INLINE void SetThinShadowFlag (bool val)
 
PRMAN_INLINE void SetUnused (unsigned char val)
 
PRMAN_INLINE void Set (bool vDiscrete, bool vSpecular, bool vReflect, bool vContinuation, bool vUser, unsigned char vLpeId, unsigned char vLobeId, bool vThinShadowFlag=false)
 Set all fields and also sets the valid bit to true. More...
 
PRMAN_INLINE unsigned short Serialize () const
 

Detailed Description

This struct represents the characteristics of just one lobe of a bxdf.

Constructor & Destructor Documentation

◆ RixBXLobeSampled() [1/3]

PRMAN_INLINE RixBXLobeSampled::RixBXLobeSampled ( )

Constructor; initializes the valid bit to false.

References RixBXLobeSampled::Converter::us.

◆ RixBXLobeSampled() [2/3]

PRMAN_INLINE RixBXLobeSampled::RixBXLobeSampled ( unsigned short  serialized)

Constructor; initializes from serialization as unsigned short.

References RixBXLobeSampled::Converter::us.

◆ RixBXLobeSampled() [3/3]

Member Function Documentation

◆ CompareLobeID()

◆ GetContinuation()

◆ GetDiffuse()

◆ GetDiscrete()

◆ GetEntering()

◆ GetLobeId()

PRMAN_INLINE unsigned char RixBXLobeSampled::GetLobeId ( ) const

◆ GetLpeId()

◆ GetReflect()

◆ GetScattering()

◆ GetSolidAngle()

◆ GetSpecular()

◆ GetThinShadowFlag()

◆ GetTransmit()

◆ GetUnused()

PRMAN_INLINE unsigned char RixBXLobeSampled::GetUnused ( ) const

◆ GetUser()

◆ GetValid()

◆ LobeIdIsSubsurface()

PRMAN_INLINE bool RixBXLobeSampled::LobeIdIsSubsurface ( ) const

◆ Serialize()

PRMAN_INLINE unsigned short RixBXLobeSampled::Serialize ( ) const

◆ Set()

◆ SetContinuation()

PRMAN_INLINE void RixBXLobeSampled::SetContinuation ( bool  val)

◆ SetDiscrete()

PRMAN_INLINE void RixBXLobeSampled::SetDiscrete ( bool  val)

◆ SetEntering()

◆ SetLobeId()

PRMAN_INLINE void RixBXLobeSampled::SetLobeId ( unsigned char  val)

◆ SetLpeId()

PRMAN_INLINE void RixBXLobeSampled::SetLpeId ( unsigned char  val)

◆ SetReflect()

PRMAN_INLINE void RixBXLobeSampled::SetReflect ( )

◆ SetSpecular()

PRMAN_INLINE void RixBXLobeSampled::SetSpecular ( bool  val)

◆ SetThinShadowFlag()

PRMAN_INLINE void RixBXLobeSampled::SetThinShadowFlag ( bool  val)

◆ SetTransmit()

◆ SetUnused()

PRMAN_INLINE void RixBXLobeSampled::SetUnused ( unsigned char  val)

◆ SetUser()

PRMAN_INLINE void RixBXLobeSampled::SetUser ( bool  val)

◆ SetValid()

PRMAN_INLINE void RixBXLobeSampled::SetValid ( bool  val)

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