MaterialX 1.38.9
Loading...
Searching...
No Matches
ScopedSetClosureParams Class Reference

A RAII class for setting extra parameters for closure evaluation, stored in the closure context. More...

#include <GenContext.h>

Public Member Functions

 ScopedSetClosureParams (const ClosureContext::ClosureParams *params, const ShaderNode *node, ClosureContext *cct)
 Constructor for setting explicit parameters for a closure node.
 
 ScopedSetClosureParams (const ShaderNode *fromNode, const ShaderNode *toNode, ClosureContext *cct)
 Constructor for setting parameters from one closure node to another.
 
 ~ScopedSetClosureParams ()
 Destructor restoring the closure parameter state.
 

Detailed Description

A RAII class for setting extra parameters for closure evaluation, stored in the closure context.


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