HDK
|
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. More... | |
~ScopedSetVariableName () | |
Destructor restoring the original variable name. More... | |
A RAII class for overriding port variable names.
Definition at line 344 of file GenContext.h.
ScopedSetVariableName::ScopedSetVariableName | ( | const string & | name, |
ShaderPort * | port | ||
) |
Constructor for setting a new variable name for a port.
ScopedSetVariableName::~ScopedSetVariableName | ( | ) |
Destructor restoring the original variable name.