|
Blender V4.5
|
Functions | |
| static void | cmp_node_map_value_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_map_value (bNodeTree *, bNode *node) |
| static void | node_composit_buts_map_value (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static bool | get_use_min (const bNode &node) |
| static bool | get_use_max (const bNode &node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| template<bool UseMin, bool UseMax> | |
| static float | map_value (const float value, const float offset, const float size, const float min, const float max) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 32 of file node_composite_map_value.cc.
References b, cmp_node_map_value_declare(), blender::nodes::decl::Float::default_value, max, and min.
Referenced by cmp_node_map_value_declare().
|
static |
Definition at line 75 of file node_composite_map_value.cc.
References get_use_max(), and TEXMAP_CLIP_MAX.
Referenced by get_use_max(), node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 70 of file node_composite_map_value.cc.
References get_use_min(), and TEXMAP_CLIP_MIN.
Referenced by get_use_min(), node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 105 of file node_composite_map_value.cc.
References map_value(), max, min, and result.
Referenced by map_value(), and node_build_multi_function().
|
static |
Definition at line 121 of file node_composite_map_value.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn_cb(), get_use_max(), get_use_min(), TexMapping::loc, map_value(), max, TexMapping::max, min, TexMapping::min, blender::nodes::NodeMultiFunctionBuilder::node(), node_build_multi_function(), and TexMapping::size.
Referenced by node_build_multi_function().
|
static |
Definition at line 47 of file node_composite_map_value.cc.
References uiLayout::column(), node_composit_buts_map_value(), uiLayout::prop(), RNA_boolean_get(), UI_ITEM_R_SPLIT_EMPTY_NAME, and uiLayoutSetActive().
Referenced by node_composit_buts_map_value().
|
static |
Definition at line 42 of file node_composite_map_value.cc.
References BKE_texture_mapping_add(), node_composit_init_map_value(), bNode::storage, and TEXMAP_TYPE_POINT.
Referenced by node_composit_init_map_value().
|
static |
Definition at line 80 of file node_composite_map_value.cc.
References get_use_max(), get_use_min(), GPU_constant(), GPU_stack_link(), GPU_uniform(), TexMapping::loc, TexMapping::max, TexMapping::min, node_gpu_material(), and TexMapping::size.
Referenced by node_gpu_material().