MaterialX 1.39.1
Loading...
Searching...
No Matches
ScopedSetVariableName Class Reference

A RAII class for overriding port variable names. More...

#include <GenContext.h>

Public Member Functions

 ScopedSetVariableName (const string &name, ShaderPort *port)
 Constructor for setting a new variable name for a port.
 
 ~ScopedSetVariableName ()
 Destructor restoring the original variable name.
 

Detailed Description

A RAII class for overriding port variable names.


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