Blender
V3.3
|
Classes | |
class | MixRGBFunction |
Functions | |
static void | sh_node_mix_rgb_declare (NodeDeclarationBuilder &b) |
static const char * | gpu_shader_get_name (int mode) |
static int | gpu_shader_mix_rgb (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
static void | sh_node_mix_rgb_build_multi_function (NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 21 of file node_shader_mix_rgb.cc.
References MA_RAMP_ADD, MA_RAMP_BLEND, MA_RAMP_BURN, MA_RAMP_COLOR, MA_RAMP_DARK, MA_RAMP_DIFF, MA_RAMP_DIV, MA_RAMP_DODGE, MA_RAMP_HUE, MA_RAMP_LIGHT, MA_RAMP_LINEAR, MA_RAMP_MULT, MA_RAMP_OVERLAY, MA_RAMP_SAT, MA_RAMP_SCREEN, MA_RAMP_SOFT, MA_RAMP_SUB, and MA_RAMP_VAL.
Referenced by gpu_shader_mix_rgb().
|
static |
Definition at line 65 of file node_shader_mix_rgb.cc.
References GPU_constant(), GPU_link(), gpu_shader_get_name(), GPU_stack_link(), max, min, node, usdtokens::out(), ret, and SHD_MIXRGB_CLAMP.
Referenced by register_node_type_sh_mix_rgb().
|
static |
Definition at line 132 of file node_shader_mix_rgb.cc.
References blender::math::clamp(), blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), node, blender::nodes::NodeMultiFunctionBuilder::node(), and SHD_MIXRGB_CLAMP.
Referenced by register_node_type_sh_mix_rgb().
|
static |
Definition at line 12 of file node_shader_mix_rgb.cc.
References usdtokens::b(), N_, and PROP_FACTOR.
Referenced by register_node_type_sh_mix_rgb().