|
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 TEXMAP_CLIP_MAX.
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 70 of file node_composite_map_value.cc.
References TEXMAP_CLIP_MIN.
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 105 of file node_composite_map_value.cc.
References max, min, result, and size().
Referenced by 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(), size(), and TexMapping::size.
|
static |
Definition at line 47 of file node_composite_map_value.cc.
References col, uiLayout::column(), uiLayout::prop(), ptr, RNA_boolean_get(), UI_ITEM_R_SPLIT_EMPTY_NAME, and uiLayoutSetActive().
|
static |
Definition at line 42 of file node_composite_map_value.cc.
References BKE_texture_mapping_add(), bNode::storage, and TEXMAP_TYPE_POINT.
|
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(), inputs, TexMapping::loc, TexMapping::max, TexMapping::min, outputs, and TexMapping::size.