Blender V2.61 - r43446
|
#include <nodes.h>
Public Member Functions | |
void | compile (SVMCompiler &compiler, ShaderInput *param1, ShaderInput *param2) |
Public Attributes | |
ClosureType | closure |
void BsdfNode::compile | ( | SVMCompiler & | compiler, |
ShaderInput * | param1, | ||
ShaderInput * | param2 | ||
) |
Definition at line 952 of file nodes.cpp.
References __float_as_int(), SVMCompiler::add_node(), closure, SVMCompiler::closure_mix_weight_offset(), SVMCompiler::encode_uchar4(), ShaderNode::input(), ShaderInput::link, NODE_CLOSURE_BSDF, NODE_CLOSURE_SET_WEIGHT, NODE_CLOSURE_WEIGHT, SVMCompiler::stack_assign(), ShaderInput::stack_offset, SVM_STACK_INVALID, ShaderInput::value, and float3::x.
Referenced by SVMCompiler::compile().