RiRayShader[ Render | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]
| public: | |
| // Constructors and assignment | |
| RiRayShader(RiRayObject *env , RiBackground *bg , int maxDepth ); | |
| // Members | |
| RiSpectrum | Shade(RiRay3 &ray, RiRayHit &hit, Ri2DSamplePatternIterator &samps, RiMedia *media, bool corl , int treeDepth ); |
| RiRayObject * | GetEnvironment() const; |
| void | SetEnvironment(RiRayObject *obj); |
| RiBackground * | GetBackground() const; |
| void | SetBackground(RiBackground *bg); |
| void | SetMaxRayDepth(int rayDepth); |
| void | SetEmission(RiRayShadeStrategy *emit); |
| void | SetDirectLighting(RiRayShadeStrategy *direct); |
| void | SetTermination(RiRayShadeStrategy *terminate); |
| void | SetSecondary(RiRayShadeStrategy *second); |
| void | SetSpecular(RiRayShadeStrategy *spec); |
| RiRayShader * | GetRayShader(); |
| protected: |
RiRayShader(RiRayObject *env , RiBackground *bg , int maxDepth );
yShader(RiRayObject *env = NULL, RiBackground *bg = NULL, int maxDepth = NULL); GROUP: Constructors and assignment
RiRayShader(RiRayObject *env = NULL, RiBackground *bg = NULL, int maxDepth = NULL);
virtual RiSpectrum Shade(RiRay3 &ray, RiRayHit &hit, Ri2DSamplePatternIterator &samps,
RiMedia *media, bool corl = false, int treeDepth = 0);
RiRayObject *GetEnvironment() const;
void SetEnvironment(RiRayObject *obj);
RiBackground *GetBackground() const;
void SetBackground(RiBackground *bg);
void SetMaxRayDepth(int rayDepth);
void SetEmission(RiRayShadeStrategy *emit);
void SetDirectLighting(RiRayShadeStrategy *direct);
void SetTermination(RiRayShadeStrategy *terminate);
void SetSecondary(RiRayShadeStrategy *second);
void SetSpecular(RiRayShadeStrategy *spec);
virtual RiRayShader *GetRayShader();
| public: | ||
|---|---|---|
| // Members | ||
| RiSpectrum | Shade(RiRay3 &ray, RiRayHit &hit, Ri2DSamplePatternIterator &samps, RiMedia *media, bool corl , int treeDepth ); | |
| RiRayObject * | GetEnvironment() const; | |
| void | SetEnvironment(RiRayObject *obj); | |
| RiBackground * | GetBackground() const; | |
| void | SetBackground(RiBackground *bg); | |
| void | SetMaxRayDepth(int rayDepth); | |
| void | SetEmission(RiRayShadeStrategy *emit); | |
| void | SetDirectLighting(RiRayShadeStrategy *direct); | |
| void | SetTermination(RiRayShadeStrategy *terminate); | |
| void | SetSecondary(RiRayShadeStrategy *second); | |
| void | SetSpecular(RiRayShadeStrategy *spec); | |
| RiRayShader * | GetRayShader(); | |
| protected: | ||