HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ScopedSetClosureParams Class Reference

#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...
 

Detailed Description

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

Definition at line 325 of file GenContext.h.

Constructor & Destructor Documentation

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.


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