HDK
|
#include <ClosureLayerNodeMdl.h>
Public Member Functions | |
void | addInputs (ShaderNode &node, GenContext &context) const override |
bool | isEditable (const ShaderInput &input) const override |
Helper class to be injected into nodes that need to carry thin film parameters from the thin_film_bsdf through layers and mixers, etc., to the elemental bsdfs that support thin film. Because thin-film can not be layered on any BSDF in MDL, we try to push down the parameters to the nodes that support thin-film.
Definition at line 44 of file ClosureLayerNodeMdl.h.
|
inlineoverride |
Add the thin film inputs for transporting the parameter. addInputs
for the injected base class is called first.
Definition at line 49 of file ClosureLayerNodeMdl.h.
|
inlineoverride |
Mark the thin film parameters as not editable because connections are created while emitting the MDL code and the default values should not get exposed to the public material interface.
Definition at line 59 of file ClosureLayerNodeMdl.h.