HDK
|
#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. More... | |
ScopedSetClosureParams (const ShaderNode *fromNode, const ShaderNode *toNode, ClosureContext *cct) | |
Constructor for setting parameters from one closure node to another. More... | |
~ScopedSetClosureParams () | |
Destructor restoring the closure parameter state. More... | |
A RAII class for setting extra parameters for closure evaluation, stored in the closure context.
Definition at line 325 of file GenContext.h.
ScopedSetClosureParams::ScopedSetClosureParams | ( | const ClosureContext::ClosureParams * | params, |
const ShaderNode * | node, | ||
ClosureContext * | cct | ||
) |
Constructor for setting explicit parameters for a closure node.
ScopedSetClosureParams::ScopedSetClosureParams | ( | const ShaderNode * | fromNode, |
const ShaderNode * | toNode, | ||
ClosureContext * | cct | ||
) |
Constructor for setting parameters from one closure node to another.
ScopedSetClosureParams::~ScopedSetClosureParams | ( | ) |
Destructor restoring the closure parameter state.