|
Blender
V2.93
|
lower level node drawing for nodes (boarders, headers etc), also node layout. More...
#include "BLI_blenlib.h"#include "BLI_math.h"#include "BLI_system.h"#include "BLI_threads.h"#include "DNA_node_types.h"#include "DNA_object_types.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "DNA_text_types.h"#include "DNA_userdef_types.h"#include "BKE_context.h"#include "BKE_curve.h"#include "BKE_image.h"#include "BKE_main.h"#include "BKE_node.h"#include "BKE_tracking.h"#include "BLF_api.h"#include "BLT_translation.h"#include "BIF_glutil.h"#include "GPU_batch.h"#include "GPU_batch_presets.h"#include "GPU_framebuffer.h"#include "GPU_immediate.h"#include "GPU_matrix.h"#include "GPU_platform.h"#include "GPU_state.h"#include "DRW_engine.h"#include "RNA_access.h"#include "RNA_define.h"#include "ED_node.h"#include "ED_space_api.h"#include "WM_api.h"#include "WM_types.h"#include "UI_resources.h"#include "UI_view2d.h"#include "IMB_colormanagement.h"#include "IMB_imbuf_types.h"#include "NOD_composite.h"#include "NOD_geometry.h"#include "NOD_shader.h"#include "NOD_texture.h"#include "node_intern.h"Go to the source code of this file.
Macros | |
| #define | DEFAULT_FLAGS UI_ITEM_R_SPLIT_EMPTY_NAME |
| #define | SAMPLE_FLT_ISNONE FLT_MAX |
| #define | NODE_REROUTE_SIZE 8.0f |
| #define | NODELINK_GROUP_SIZE 256 |
| #define | LINK_RESOL 24 |
| #define | LINK_WIDTH (2.5f * UI_DPI_FAC) |
| #define | ARROW_SIZE (7 * UI_DPI_FAC) |
Variables | |
| static float | _sample_col [4] = {SAMPLE_FLT_ISNONE} |
| static const float | virtual_node_socket_color [4] = {0.2, 0.2, 0.2, 1.0} |
| static const float | std_node_socket_colors [][4] |
| static float | arrow_verts [3][2] = {{-1.0f, 1.0f}, {0.0f, 0.0f}, {-1.0f, -1.0f}} |
| static float | arrow_expand_axis [3][2] = {{0.7071f, 0.7071f}, {M_SQRT2, 0.0f}, {0.7071f, -0.7071f}} |
| static float | mute_verts [3][2] = {{0.7071f, 1.0f}, {0.7071f, 0.0f}, {0.7071f, -1.0f}} |
| static float | mute_expand_axis [3][2] = {{1.0f, 0.0f}, {1.0f, 0.0f}, {1.0f, -0.0f}} |
| struct { | |
| GPUBatch * batch | |
| GPUBatch * batch_single | |
| GPUVertBuf * inst_vbo | |
| uint p0_id | |
| uint p1_id | |
| uint p2_id | |
| uint p3_id | |
| uint colid_id | |
| uint muted_id | |
| GPUVertBufRaw p0_step | |
| GPUVertBufRaw p1_step | |
| GPUVertBufRaw p2_step | |
| GPUVertBufRaw p3_step | |
| GPUVertBufRaw colid_step | |
| GPUVertBufRaw muted_step | |
| uint count | |
| bool enabled | |
| } | g_batch_link = {0} |
lower level node drawing for nodes (boarders, headers etc), also node layout.
Definition in file drawnode.c.
| #define ARROW_SIZE (7 * UI_DPI_FAC) |
Definition at line 3769 of file drawnode.c.
| #define DEFAULT_FLAGS UI_ITEM_R_SPLIT_EMPTY_NAME |
Definition at line 81 of file drawnode.c.
| #define LINK_RESOL 24 |
Definition at line 3767 of file drawnode.c.
| #define LINK_WIDTH (2.5f * UI_DPI_FAC) |
Definition at line 3768 of file drawnode.c.
| #define NODE_REROUTE_SIZE 8.0f |
Definition at line 501 of file drawnode.c.
| #define NODELINK_GROUP_SIZE 256 |
Definition at line 3766 of file drawnode.c.
| #define SAMPLE_FLT_ISNONE FLT_MAX |
Definition at line 167 of file drawnode.c.
| void draw_nodespace_back_pix | ( | const bContext * | C, |
| ARegion * | region, | ||
| SpaceNode * | snode, | ||
| bNodeInstanceKey | parent_key | ||
| ) |
Definition at line 3550 of file drawnode.c.
References bNodeTree::active_viewer_key, BKE_image_acquire_ibuf(), BKE_image_ensure_viewer(), BKE_image_release_ibuf(), BLI_rcti_init(), BLI_thread_lock(), BLI_thread_unlock(), C, CTX_data_main(), DRW_draw_view(), ED_node_is_compositor(), ED_region_draw_cb_draw(), SpaceNode::edittree, ListBase::first, bNodeTree::flag, SpaceNode::flag, GPU_COMP_F32, GPU_DEPTH_NONE, GPU_depth_test(), GPU_FETCH_FLOAT, GPU_framebuffer_active_get(), GPU_framebuffer_bind_no_srgb(), GPU_framebuffer_restore(), GPU_matrix_identity_set(), GPU_matrix_pop(), GPU_matrix_pop_projection(), GPU_matrix_push(), GPU_matrix_push_projection(), GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), IMA_TYPE_COMPOSITE, immBindBuiltinProgram(), immDrawBorderCorners(), immUnbindProgram(), immUniformThemeColor(), immVertexFormat(), LOCK_DRAW_IMAGE, node, NODE_INSTANCE_KEY_NONE, NODE_SELECT, bNodeTree::nodes, SpaceNode::nodetree, NTREE_VIEWER_BORDER, NULL, pos, REGION_DRAW_BACKDROP, SNODE_BACKDRAW, TH_ACTIVE, bNodeInstanceKey::value, bNodeTree::viewer_border, ARegion::winx, ARegion::winy, wmOrtho2_region_pixelspace(), x, ImBuf::x, rctf::xmax, rctf::xmin, SpaceNode::xof, y, ImBuf::y, rctf::ymax, rctf::ymin, SpaceNode::yof, and SpaceNode::zoom.
Referenced by node_draw_space().
| void ED_init_custom_node_socket_type | ( | bNodeSocketType * | stype | ) |
Definition at line 3318 of file drawnode.c.
References bNodeSocketType::draw, and node_socket_button_label().
| void ED_init_custom_node_type | ( | bNodeType * | ntype | ) |
Definition at line 3308 of file drawnode.c.
References bNodeType::draw_nodetype, bNodeType::draw_nodetype_prepare, node_draw_default(), node_resize_area_default(), node_select_area_default(), node_tweak_area_default(), node_update_default(), bNodeType::resize_area_func, bNodeType::select_area_func, and bNodeType::tweak_area_func.
| void ED_init_node_socket_type_virtual | ( | bNodeSocketType * | stype | ) |
Definition at line 3542 of file drawnode.c.
References bNodeSocketType::draw, bNodeSocketType::draw_color, node_socket_button_label(), and node_socket_virtual_draw_color().
Referenced by make_socket_type_virtual().
| void ED_init_standard_node_socket_type | ( | bNodeSocketType * | stype | ) |
Definition at line 3526 of file drawnode.c.
References bNodeSocketType::draw, bNodeSocketType::draw_color, bNodeSocketType::interface_draw, bNodeSocketType::interface_draw_color, std_node_socket_draw(), std_node_socket_draw_color(), std_node_socket_interface_draw(), and std_node_socket_interface_draw_color().
Referenced by make_standard_socket_type().
| void ED_node_draw_snap | ( | View2D * | v2d, |
| const float | cent[2], | ||
| float | size, | ||
| NodeBorder | border, | ||
| uint | pos | ||
| ) |
Definition at line 4117 of file drawnode.c.
References border, View2D::cur, GPU_PRIM_LINES, immBegin(), immEnd(), immVertex2f(), NODE_BOTTOM, NODE_LEFT, NODE_RIGHT, NODE_TOP, pos, size(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by drawSnapping().
| void ED_node_init_butfuncs | ( | void | ) |
Definition at line 3261 of file drawnode.c.
References bNodeSocketType::draw, bNodeType::draw_buttons, bNodeType::draw_buttons_ex, bNodeSocketType::draw_color, bNodeType::draw_nodetype, bNodeType::draw_nodetype_prepare, bNodeSocketType::interface_draw, bNodeSocketType::interface_draw_color, node_common_set_butfunc(), node_composit_set_butfunc(), node_draw_default(), node_resize_area_default(), node_select_area_default(), node_shader_set_butfunc(), node_socket_undefined_draw(), node_socket_undefined_draw_color(), node_socket_undefined_interface_draw(), node_socket_undefined_interface_draw_color(), node_template_properties_update(), node_texture_set_butfunc(), node_tweak_area_default(), NODE_TYPES_BEGIN, NODE_TYPES_END, node_update_default(), NodeSocketTypeUndefined, NodeTypeUndefined, ntreeType_Composite, ntreeType_Geometry, ntreeType_Shader, ntreeType_Texture, NULL, bNodeType::resize_area_func, bNodeType::select_area_func, bNodeType::tweak_area_func, and bNodeTreeType::ui_icon.
Referenced by WM_init().
| void ED_node_sample_set | ( | const float | col[4] | ) |
Definition at line 170 of file drawnode.c.
References _sample_col, col, copy_v4_fl(), copy_v4_v4(), and SAMPLE_FLT_ISNONE.
Referenced by sample_apply(), and sample_exit().
|
static |
Definition at line 157 of file drawnode.c.
References ptr, and uiTemplateColorRamp().
Referenced by node_composit_set_butfunc(), node_shader_set_butfunc(), and node_texture_set_butfunc().
|
static |
Definition at line 180 of file drawnode.c.
References _sample_col, copy_v3_v3(), CUMA_DRAW_SAMPLE, PointerRNA::data, CurveMapping::flag, node, ntree, NTREE_COMPOSIT, PointerRNA::owner_id, ptr, CurveMapping::sample, SAMPLE_FLT_ISNONE, bNodeTree::type, and uiTemplateCurveMapping().
Referenced by node_composit_set_butfunc(), node_shader_set_butfunc(), and node_texture_set_butfunc().
|
static |
Definition at line 162 of file drawnode.c.
References ptr, and uiTemplateCurveMapping().
Referenced by node_composit_set_butfunc(), and node_shader_set_butfunc().
|
static |
Definition at line 494 of file drawnode.c.
References DEFAULT_FLAGS, IFACE_, NULL, ptr, and uiItemR().
Referenced by node_common_set_butfunc().
|
static |
Definition at line 641 of file drawnode.c.
References BKE_image_is_dirty(), BKE_image_user_frame_get(), BLI_snprintf(), C, CFRA, col, CTX_data_scene(), PointerRNA::data, DEFAULT_FLAGS, ELEM, IFACE_, IMA_SRC_MOVIE, IMA_SRC_SEQUENCE, IMA_TYPE_MULTILAYER, NULL, ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_get(), scene, blender::io::alembic::split(), uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutSetEnabled(), and uiLayoutSplit().
Referenced by node_composit_buts_cryptomatte(), node_composit_buts_image(), node_shader_buts_tex_environment(), and node_shader_buts_tex_image().
|
static |
Definition at line 1334 of file drawnode.c.
References col, PointerRNA::data, DEFAULT_FLAGS, NULL, ptr, RNA_boolean_get(), RNA_enum_get(), uiItemR(), and uiLayoutColumn().
Referenced by node_composit_buts_cryptomatte(), and node_composit_buts_image().
|
static |
Definition at line 240 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc(), node_shader_set_butfunc(), and node_texture_set_butfunc().
|
static |
Definition at line 121 of file drawnode.c.
References col, DEFAULT_FLAGS, ELEM, ntree, NTREE_COMPOSIT, NTREE_TEXTURE, NULL, PointerRNA::owner_id, ptr, bNodeTree::type, uiItemR(), uiLayoutColumn(), and uiLayoutRow().
Referenced by node_composit_set_butfunc(), node_shader_set_butfunc(), and node_texture_set_butfunc().
|
static |
Definition at line 199 of file drawnode.c.
References PointerRNA::data, DEFAULT_FLAGS, node, output, PointerRNA::owner_id, ptr, RNA_NodeSocket, RNA_pointer_create(), and uiItemR().
Referenced by node_composit_set_butfunc(), and node_shader_set_butfunc().
|
static |
Definition at line 1133 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, uiItemR(), uiLayoutColumn(), and uiLayoutRow().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1128 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 107 of file drawnode.c.
References col, PointerRNA::data, DEFAULT_FLAGS, node, output, PointerRNA::owner_id, ptr, RNA_NodeSocket, RNA_pointer_create(), UI_ITEM_R_SLIDER, uiItemR(), uiLayoutColumn(), and uiTemplateColorPicker().
Referenced by node_composit_set_butfunc(), and node_shader_set_butfunc().
|
static |
Definition at line 210 of file drawnode.c.
References CMP_NODE_TEXTURE, PointerRNA::data, DEFAULT_FLAGS, node, ptr, TEX_NODE_TEXTURE, and uiItemR().
Referenced by node_composit_set_butfunc(), and node_texture_set_butfunc().
|
static |
Definition at line 135 of file drawnode.c.
References CFRA, CUMA_DRAW_CFRA, PointerRNA::data, DEFAULT_FLAGS, CurveMapping::flag, float(), IFACE_, node, ptr, CurveMapping::sample, uiItemR(), uiLayoutRow(), and uiTemplateCurveMapping().
Referenced by node_composit_set_butfunc(), and node_texture_set_butfunc().
|
static |
Definition at line 96 of file drawnode.c.
References PointerRNA::data, DEFAULT_FLAGS, node, output, PointerRNA::owner_id, ptr, RNA_NodeSocket, RNA_pointer_create(), and uiItemR().
Referenced by node_composit_set_butfunc(), and node_shader_set_butfunc().
|
static |
Definition at line 619 of file drawnode.c.
References bNodeType::draw_buttons, bNodeType::draw_buttons_ex, bNodeType::draw_nodetype, bNodeType::draw_nodetype_prepare, node_buts_frame_ex(), node_draw_buttons_group(), node_draw_frame(), node_draw_frame_prepare(), node_draw_reroute(), node_draw_reroute_prepare(), NODE_FRAME, NODE_GROUP, NODE_REROUTE, node_resize_area_frame(), node_tweak_area_reroute(), bNodeType::resize_area_func, bNodeType::tweak_area_func, and bNodeType::type.
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 2405 of file drawnode.c.
References cosf, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_LINE_LOOP, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), NodeBoxMask::height, immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformColor3f(), immVertex2f(), immVertexFormat(), node, pos, NodeBoxMask::rotation, sinf, NodeBoxMask::width, x, ImBuf::x, NodeBoxMask::x, x2, y, ImBuf::y, NodeBoxMask::y, y1, and SpaceNode::zoom.
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2450 of file drawnode.c.
References cosf, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_LINE_LOOP, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), NodeEllipseMask::height, immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformColor3f(), immVertex2f(), immVertexFormat(), node, pos, NodeEllipseMask::rotation, sinf, NodeEllipseMask::width, x, ImBuf::x, NodeEllipseMask::x, x2, y, ImBuf::y, NodeEllipseMask::y, y1, and SpaceNode::zoom.
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2376 of file drawnode.c.
References GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_LINES, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformColor3f(), immVertex2f(), immVertexFormat(), node, pos, x, ImBuf::x, y, ImBuf::y, and SpaceNode::zoom.
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1708 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1531 of file drawnode.c.
References col, NULL, ptr, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1489 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1429 of file drawnode.c.
References col, DEFAULT_FLAGS, filter(), IFACE_, NULL, ptr, R_FILTER_FAST_GAUSS, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_R_EXPAND, uiItemL(), uiItemR(), uiLayoutColumn(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2368 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2359 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_SLIDER, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2343 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2740 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1829 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), uiLayoutColumn(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1805 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1819 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1779 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, NULL, ptr, RNA_boolean_get(), RNA_enum_get(), UI_ITEM_R_EXPAND, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), uiLayoutColumn(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2060 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, RNA_enum_get(), blender::io::alembic::split(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSplit(), and uiTemplateColorPicker().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2104 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, RNA_enum_get(), uiItemR(), and uiTemplateColorPicker().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2217 of file drawnode.c.
References DEFAULT_FLAGS, IFACE_, NULL, ptr, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2273 of file drawnode.c.
References DEFAULT_FLAGS, IFACE_, NULL, ptr, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2509 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2670 of file drawnode.c.
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1633 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, NULL, ptr, RNA_boolean_get(), uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2705 of file drawnode.c.
References C, CMP_CRYPTOMATTE_SRC_RENDER, col, PointerRNA::data, DEFAULT_FLAGS, IFACE_, NodeCryptomatte::iuser, node, node_buts_image_user(), node_buts_image_views(), NULL, PointerRNA::owner_id, ptr, RNA_ImageUser, RNA_pointer_create(), RNA_pointer_get(), UI_ITEM_R_EXPAND, UI_TEMPLATE_ID_FILTER_ALL, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetContextPointer(), uiTemplateCryptoPicker(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2682 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, ptr, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), and uiTemplateCryptoPicker().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2697 of file drawnode.c.
References IFACE_, and uiItemO().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1465 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, NULL, ptr, uiItemL(), uiItemR(), uiItemS(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1501 of file drawnode.c.
References C, col, DEFAULT_FLAGS, IFACE_, NULL, ptr, RNA_boolean_get(), UI_TEMPLATE_ID_FILTER_ALL, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutSetActive(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2747 of file drawnode.c.
References BLI_cpu_support_sse41(), DEFAULT_FLAGS, IFACE_, NULL, ptr, uiItemL(), and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1745 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1754 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1726 of file drawnode.c.
References CMP_NODE_DILATEERODE_DISTANCE_FEATHER, CMP_NODE_DILATEERODE_DISTANCE_THRESH, DEFAULT_FLAGS, NULL, ptr, RNA_enum_get(), and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1763 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, NULL, ptr, UI_ITEM_R_EXPAND, UI_ITEM_R_SLIDER, uiItemL(), uiItemR(), uiLayoutColumn(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1665 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, ptr, uiItemL(), uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2495 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1877 of file drawnode.c.
References DEFAULT_FLAGS, IFACE_, ptr, R_IMF_IMTYPE_MULTILAYER, RNA_enum_get(), RNA_pointer_get(), uiItemL(), and uiItemR().
Referenced by node_composit_buts_file_output_ex(), and node_composit_set_butfunc().
|
static |
Definition at line 1890 of file drawnode.c.
References C, col, CTX_data_scene(), PointerRNA::data, DEFAULT_FLAGS, IFACE_, node_composit_buts_file_output(), NULL, ot, PointerRNA::owner_id, ptr, Scene::r, R_IMF_IMTYPE_MULTILAYER, R_IMF_IMTYPE_OPENEXR, R_MULTIVIEW, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), RNA_int_get(), RNA_pointer_get(), RNA_property_collection_lookup_int(), RNA_struct_find_property(), RenderData::scemode, scene, UI_ITEM_R_ICON_ONLY, uiItemFullO(), uiItemFullO_ptr(), uiItemL(), uiItemO(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetActive(), uiTemplateImageFormatViews(), uiTemplateImageSettings(), uiTemplateList(), WM_OP_EXEC_DEFAULT, WM_OP_INVOKE_DEFAULT, and WM_operatortype_find().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1623 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1628 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1543 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, RNA_enum_get(), UI_ITEM_R_SLIDER, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2133 of file drawnode.c.
References _sample_col, copy_v3_v3(), CUMA_DRAW_SAMPLE, PointerRNA::data, CurveMapping::flag, node, ptr, CurveMapping::sample, SAMPLE_FLT_ISNONE, and uiTemplateCurveMapping().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1871 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1357 of file drawnode.c.
References C, PointerRNA::data, node, node_buts_image_user(), node_buts_image_views(), NULL, PointerRNA::owner_id, ptr, RNA_ImageUser, RNA_pointer_create(), RNA_pointer_get(), UI_TEMPLATE_ID_FILTER_ALL, uiLayoutSetContextPointer(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1385 of file drawnode.c.
References C, PointerRNA::data, node, PointerRNA::owner_id, ptr, RNA_ImageUser, RNA_pointer_create(), uiLayoutSetContextPointer(), and uiTemplateImage().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1740 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2041 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2571 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2553 of file drawnode.c.
References C, col, PointerRNA::data, MovieClip::id, node, NULL, ptr, RNA_MovieTracking, RNA_pointer_create(), MovieClip::tracking, UI_TEMPLATE_ID_FILTER_ALL, uiItemPointerR(), uiLayoutColumn(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1594 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, RNA_boolean_get(), uiItemR(), uiLayoutColumn(), and uiLayoutSetActive().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1857 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1679 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1866 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1687 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, RNA_boolean_get(), uiItemR(), uiLayoutColumn(), and uiLayoutSetActive().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2532 of file drawnode.c.
References C, CMP_NODEFLAG_MASK_FIXED, CMP_NODEFLAG_MASK_FIXED_SCENE, CMP_NODEFLAG_MASK_MOTION_BLUR, PointerRNA::data, DEFAULT_FLAGS, node, NULL, ptr, UI_TEMPLATE_ID_FILTER_ALL, uiItemR(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2154 of file drawnode.c.
References C, NULL, ptr, UI_TEMPLATE_ID_FILTER_ALL, and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2160 of file drawnode.c.
References C, PointerRNA::data, node, NULL, ptr, RNA_pointer_get(), UI_TEMPLATE_ID_FILTER_ALL, uiTemplateColorspaceSettings(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2203 of file drawnode.c.
References C, PointerRNA::data, DEFAULT_FLAGS, node, NULL, ptr, UI_TEMPLATE_ID_FILTER_ALL, uiItemR(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2629 of file drawnode.c.
References BKE_tracking_object_get_named(), C, CMP_NODEFLAG_PLANETRACKDEFORM_MOTION_BLUR, col, data, PointerRNA::data, DEFAULT_FLAGS, MovieClip::id, node, NULL, ptr, RNA_MovieTracking, RNA_MovieTrackingObject, RNA_pointer_create(), MovieClip::tracking, UI_TEMPLATE_ID_FILTER_ALL, uiItemPointerR(), uiItemR(), uiLayoutColumn(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2050 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2036 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2023 of file drawnode.c.
References CMP_SCALE_RENDERPERCENT, DEFAULT_FLAGS, NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, uiItemR(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2319 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1655 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_EXPAND, uiItemR(), uiLayoutColumn(), and uiLayoutRow().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2177 of file drawnode.c.
References C, PointerRNA::data, DEFAULT_FLAGS, node, NULL, ptr, UI_TEMPLATE_ID_FILTER_ALL, uiItemR(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2676 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_EXPAND, UI_ITEM_R_SLIDER, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2324 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2329 of file drawnode.c.
References NULL, uiItemFullO(), and WM_OP_INVOKE_DEFAULT.
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1575 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, RNA_enum_get(), UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2589 of file drawnode.c.
References BKE_tracking_object_get_named(), C, CMP_TRACKPOS_ABSOLUTE_FRAME, CMP_TRACKPOS_RELATIVE_FRAME, col, data, PointerRNA::data, DEFAULT_FLAGS, ELEM, MovieClip::id, node, NULL, ptr, RNA_MovieTracking, RNA_MovieTrackingObject, RNA_pointer_create(), MovieClip::tracking, UI_TEMPLATE_ID_FILTER_ALL, uiItemPointerR(), uiItemR(), uiLayoutColumn(), and uiTemplateID().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2198 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2192 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1607 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, NULL, ptr, uiItemL(), uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2055 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_EXPAND, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2514 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2519 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, RNA_enum_get(), uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1395 of file drawnode.c.
References C, col, PointerRNA::data, DEFAULT_FLAGS, MAX_ID_NAME, node, NULL, ptr, RNA_pointer_get(), RNA_property_enum_get(), RNA_property_enum_identifier(), RNA_string_get(), RNA_string_set(), RNA_struct_find_property(), UI_TEMPLATE_ID_FILTER_ALL, uiItemFullO(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiTemplateID(), and WM_OP_INVOKE_DEFAULT.
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2149 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 1717 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, uiItemR(), and uiLayoutColumn().
Referenced by node_composit_set_butfunc().
|
static |
Definition at line 2764 of file drawnode.c.
References CMP_NODE_ALPHAOVER, CMP_NODE_ANTIALIASING, CMP_NODE_BILATERALBLUR, CMP_NODE_BLUR, CMP_NODE_BOKEHBLUR, CMP_NODE_BOKEHIMAGE, CMP_NODE_BRIGHTCONTRAST, CMP_NODE_CHANNEL_MATTE, CMP_NODE_CHROMA_MATTE, CMP_NODE_COLOR_MATTE, CMP_NODE_COLOR_SPILL, CMP_NODE_COLORBALANCE, CMP_NODE_COLORCORRECTION, CMP_NODE_COMBYCCA, CMP_NODE_COMPOSITE, CMP_NODE_CORNERPIN, CMP_NODE_CROP, CMP_NODE_CRYPTOMATTE, CMP_NODE_CRYPTOMATTE_LEGACY, CMP_NODE_CURVE_RGB, CMP_NODE_CURVE_VEC, CMP_NODE_DBLUR, CMP_NODE_DEFOCUS, CMP_NODE_DENOISE, CMP_NODE_DESPECKLE, CMP_NODE_DIFF_MATTE, CMP_NODE_DILATEERODE, CMP_NODE_DIST_MATTE, CMP_NODE_DOUBLEEDGEMASK, CMP_NODE_FILTER, CMP_NODE_FLIP, CMP_NODE_GLARE, CMP_NODE_HUECORRECT, CMP_NODE_ID_MASK, CMP_NODE_IMAGE, CMP_NODE_INPAINT, CMP_NODE_INVERT, CMP_NODE_KEYING, CMP_NODE_KEYINGSCREEN, CMP_NODE_LENSDIST, CMP_NODE_LUMA_MATTE, CMP_NODE_MAP_RANGE, CMP_NODE_MAP_UV, CMP_NODE_MAP_VALUE, CMP_NODE_MASK, CMP_NODE_MASK_BOX, CMP_NODE_MASK_ELLIPSE, CMP_NODE_MATH, CMP_NODE_MIX_RGB, CMP_NODE_MOVIECLIP, CMP_NODE_MOVIEDISTORTION, CMP_NODE_NORMAL, CMP_NODE_OUTPUT_FILE, CMP_NODE_PLANETRACKDEFORM, CMP_NODE_PREMULKEY, CMP_NODE_R_LAYERS, CMP_NODE_RGB, CMP_NODE_ROTATE, CMP_NODE_SCALE, CMP_NODE_SEPYCCA, CMP_NODE_SETALPHA, CMP_NODE_SPLITVIEWER, CMP_NODE_STABILIZE2D, CMP_NODE_SUNBEAMS, CMP_NODE_SWITCH, CMP_NODE_SWITCH_VIEW, CMP_NODE_TEXTURE, CMP_NODE_TIME, CMP_NODE_TONEMAP, CMP_NODE_TRACKPOS, CMP_NODE_TRANSFORM, CMP_NODE_TRANSLATE, CMP_NODE_VALTORGB, CMP_NODE_VALUE, CMP_NODE_VECBLUR, CMP_NODE_VIEW_LEVELS, CMP_NODE_VIEWER, CMP_NODE_ZCOMBINE, bNodeType::draw_backdrop, bNodeType::draw_buttons, bNodeType::draw_buttons_ex, node_buts_colorramp(), node_buts_curvecol(), node_buts_curvevec(), node_buts_math(), node_buts_mix_rgb(), node_buts_normal(), node_buts_rgb(), node_buts_texture(), node_buts_time(), node_buts_value(), node_composit_backdrop_boxmask(), node_composit_backdrop_ellipsemask(), node_composit_backdrop_viewer(), node_composit_buts_alphaover(), node_composit_buts_antialiasing(), node_composit_buts_bilateralblur(), node_composit_buts_blur(), node_composit_buts_bokehblur(), node_composit_buts_bokehimage(), node_composit_buts_boxmask(), node_composit_buts_brightcontrast(), node_composit_buts_channel_matte(), node_composit_buts_chroma_matte(), node_composit_buts_color_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_colorbalance_ex(), node_composit_buts_colorcorrection(), node_composit_buts_colorcorrection_ex(), node_composit_buts_composite(), node_composit_buts_cornerpin(), node_composit_buts_crop(), node_composit_buts_cryptomatte(), node_composit_buts_cryptomatte_legacy(), node_composit_buts_cryptomatte_legacy_ex(), node_composit_buts_dblur(), node_composit_buts_defocus(), node_composit_buts_denoise(), node_composit_buts_despeckle(), node_composit_buts_diff_matte(), node_composit_buts_dilateerode(), node_composit_buts_distance_matte(), node_composit_buts_double_edge_mask(), node_composit_buts_ellipsemask(), node_composit_buts_file_output(), node_composit_buts_file_output_ex(), node_composit_buts_filter(), node_composit_buts_flip(), node_composit_buts_glare(), node_composit_buts_huecorrect(), node_composit_buts_id_mask(), node_composit_buts_image(), node_composit_buts_image_ex(), node_composit_buts_inpaint(), node_composit_buts_invert(), node_composit_buts_keying(), node_composit_buts_keyingscreen(), node_composit_buts_lensdist(), node_composit_buts_luma_matte(), node_composit_buts_map_range(), node_composit_buts_map_uv(), node_composit_buts_map_value(), node_composit_buts_mask(), node_composit_buts_movieclip(), node_composit_buts_movieclip_ex(), node_composit_buts_moviedistortion(), node_composit_buts_planetrackdeform(), node_composit_buts_premulkey(), node_composit_buts_rotate(), node_composit_buts_scale(), node_composit_buts_set_alpha(), node_composit_buts_splitviewer(), node_composit_buts_stabilize2d(), node_composit_buts_sunbeams(), node_composit_buts_switch(), node_composit_buts_switch_view_ex(), node_composit_buts_tonemap(), node_composit_buts_trackpos(), node_composit_buts_transform(), node_composit_buts_translate(), node_composit_buts_vecblur(), node_composit_buts_view_levels(), node_composit_buts_viewer(), node_composit_buts_viewer_ex(), node_composit_buts_viewlayers(), node_composit_buts_ycc(), node_composit_buts_zcombine(), and bNodeType::type.
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 274 of file drawnode.c.
References C, NULL, ptr, UI_TEMPLATE_ID_FILTER_ALL, and uiTemplateIDBrowse().
Referenced by node_common_set_butfunc().
|
static |
Definition at line 412 of file drawnode.c.
References alpha, SpaceNode_Runtime::aspect, BASIS_RAD, BLI_rctf_isect(), C, View2D::cur, node, NODE_ACTIVE, NODE_CUSTOM_COLOR, node_draw_frame_label(), node_draw_shadow(), ntree, NULL, rgba_float_args_set(), SpaceNode::runtime, SELECT, TH_ACTIVE, TH_NODE_FRAME, TH_SELECT, UI_block_draw(), UI_block_end(), UI_CNR_ALL, UI_draw_roundbox_aa(), UI_draw_roundbox_corner_set(), UI_GetThemeColor4fv(), UI_GetThemeColorShadeAlpha4fv(), and ARegion::v2d.
Referenced by node_common_set_butfunc().
Definition at line 333 of file drawnode.c.
References BLF_ascender(), BLF_aspect(), BLF_ASPECT, BLF_clipping(), BLF_CLIPPING, BLF_color3ubv(), BLF_disable(), BLF_draw(), BLF_draw_ex(), BLF_DRAW_STR_DUMMY_MAX, BLF_enable(), BLF_height_max(), BLF_position(), BLF_size(), BLF_width(), BLF_WORD_WRAP, BLF_wordwrap(), BLI_rctf_cent_x(), BLI_rctf_size_x(), data, float(), floorf, label, ResultBLF::lines, Text::lines, LISTBASE_FOREACH, MAX_NAME, MIN2, node, NODE_DY, node_get_colorid(), nodeLabel(), ntree, TH_TEXT, UI_GetThemeColorBlendShade3ubv(), UI_style_get(), uiFontStyle::uifont_id, uiStyle::widgetlabel, width, x, rctf::xmin, y, rctf::ymax, and rctf::ymin.
Referenced by node_draw_frame().
|
static |
Definition at line 284 of file drawnode.c.
References BLI_rctf_union(), data, LISTBASE_FOREACH, node, NODE_FRAME_RESIZEABLE, NODE_FRAME_SHRINK, node_from_view(), node_to_view(), bNodeTree::nodes, ntree, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by node_common_set_butfunc().
Definition at line 4068 of file drawnode.c.
References bNodeSocket::flag, bNode::flag, bNodeLink::flag, bNodeLink::fromnode, bNodeLink::fromsock, node_draw_link_bezier(), NODE_LINK_MUTED, NODE_LINK_VALID, NODE_LINKFLAG_HILITE, NULL, SELECT, SOCK_UNAVAIL, TH_ACTIVE, TH_EDGE_SELECT, TH_REDALERT, TH_WIRE, TH_WIRE_INNER, bNodeLink::tonode, and bNodeLink::tosock.
Referenced by node_draw_nodetree(), and node_draw_space().
| void node_draw_link_bezier | ( | const View2D * | v2d, |
| const SpaceNode * | snode, | ||
| const bNodeLink * | link, | ||
| int | th_col1, | ||
| int | th_col2, | ||
| int | th_col3 | ||
| ) |
Definition at line 4017 of file drawnode.c.
References ARROW_SIZE, SpaceNode_Runtime::aspect, batch, copy_v4_v4(), bNodeLink::flag, bNodeLink::fromnode, g_batch_link, GPU_batch_draw(), GPU_batch_program_set_builtin(), GPU_batch_uniform_1f, GPU_batch_uniform_1i, GPU_batch_uniform_2fv_array, GPU_batch_uniform_4fv_array, GPU_SHADER_2D_NODELINK, GPUBatch, LINK_WIDTH, node_link_bezier_handles(), NODE_LINK_MUTED, NODE_LINK_TEMP_HIGHLIGHT, NODE_REROUTE, nodelink_batch_add_link(), nodelink_batch_init(), NULL, SpaceNode::runtime, TH_SELECT, bNodeLink::tonode, bNode::type, and UI_GetThemeColor4fv().
Referenced by node_draw_link(), and node_draw_mute_line().
|
static |
Definition at line 528 of file drawnode.c.
References BLI_strncpy(), C, View2D::cur, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_line_smooth(), node, NODE_ACTIVE, node_draw_sockets(), NODE_DY, NODE_DYS, NODE_REROUTE_SIZE, ntree, NULL, SELECT, size(), TH_NODE, TH_TEXT_HI, UI_block_draw(), UI_block_end(), UI_BTYPE_LABEL, UI_CNR_ALL, UI_draw_roundbox_4fv(), UI_draw_roundbox_aa(), UI_draw_roundbox_corner_set(), UI_GetThemeColor4fv(), UI_GetThemeColorShadeAlpha4fv(), uiDefBut(), ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by node_common_set_butfunc().
|
static |
Definition at line 503 of file drawnode.c.
References bNodeSocket::locx, bNodeSocket::locy, node, NODE_REROUTE_SIZE, node_to_view(), and size().
Referenced by node_common_set_butfunc().
|
static |
Definition at line 3363 of file drawnode.c.
References C, PointerRNA::data, bNodeTree::id, NodeImageMultiFileSocket::layer, ntree, PointerRNA::owner_id, NodeImageMultiFileSocket::path, ptr, R_IMF_IMTYPE_MULTILAYER, RNA_boolean_get(), RNA_enum_get(), RNA_NodeOutputFileSlotFile, RNA_NodeOutputFileSlotLayer, RNA_pointer_create(), RNA_pointer_get(), RNA_property_enum_get(), RNA_property_enum_name(), RNA_struct_find_property(), UI_block_emboss_set(), UI_EMBOSS_NONE, UI_EMBOSS_PULLDOWN, uiItemL(), uiLayoutGetBlock(), and uiLayoutRow().
Referenced by std_node_socket_draw().
| bool node_link_bezier_handles | ( | const View2D * | v2d, |
| const SpaceNode * | snode, | ||
| const bNodeLink * | link, | ||
| float | vec[4][2] | ||
| ) |
Definition at line 3637 of file drawnode.c.
References copy_v2_v2(), View2D::cur, SpaceNode_Runtime::cursor, fabsf, bNodeSocket::flag, bNode::flag, bNodeLink::fromnode, bNodeLink::fromsock, bNodeSocket::locx, bNodeSocket::locy, max_ffff(), mid_v2_v2v2(), min_ffff(), bNodeLink::multi_input_socket_index, NODE_HIDDEN, node_link_calculate_multi_input_position(), NODE_REROUTE, NULL, SpaceNode::runtime, SOCK_MULTI_INPUT, SPACE_NODE, TH_NODE_CURVING, bNodeLink::tonode, bNodeLink::tosock, bNodeSocket::total_inputs, bNode::type, UI_DPI_FAC, UI_GetThemeValueType(), rctf::xmax, and rctf::xmin.
Referenced by node_draw_link_bezier(), node_link_bezier_points(), and pick_input_link_by_link_intersect().
| bool node_link_bezier_points | ( | const View2D * | v2d, |
| const SpaceNode * | snode, | ||
| const bNodeLink * | link, | ||
| float | coord_array[][2], | ||
| const int | resol | ||
| ) |
Definition at line 3746 of file drawnode.c.
References BKE_curve_forward_diff_bezier(), and node_link_bezier_handles().
Referenced by add_reroute_intersect_check(), ED_node_link_intersect_test(), and node_links_intersect().
|
static |
Definition at line 3191 of file drawnode.c.
References PointerRNA::data, ED_node_tag_update_nodetree(), node, ntree, PointerRNA::owner_id, and ptr.
Referenced by node_socket_template_properties_update().
|
static |
Definition at line 246 of file drawnode.c.
References BLI_rctf_isect_pt(), node, NODE_HIDDEN, NODE_RESIZE_LEFT, NODE_RESIZE_MARGIN, NODE_RESIZE_RIGHT, size(), x, rctf::xmax, rctf::xmin, y, rctf::ymax, and rctf::ymin.
Referenced by ED_init_custom_node_type(), and ED_node_init_butfuncs().
|
static |
Definition at line 466 of file drawnode.c.
References data, if(), node, NODE_FRAME_RESIZEABLE, NODE_RESIZE_BOTTOM, NODE_RESIZE_LEFT, NODE_RESIZE_RIGHT, NODE_RESIZE_TOP, size(), x, and y.
Referenced by node_common_set_butfunc().
|
static |
Definition at line 1148 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1052 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 723 of file drawnode.c.
References DEFAULT_FLAGS, IFACE_, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1143 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 949 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 225 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1010 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1041 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1067 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1079 of file drawnode.c.
References DEFAULT_FLAGS, NODE_IES_INTERNAL, NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, uiItemR(), and uiLayoutRow().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 230 of file drawnode.c.
References DEFAULT_FLAGS, ELEM, NODE_MAP_RANGE_SMOOTHERSTEP, NODE_MAP_RANGE_SMOOTHSTEP, NULL, ptr, RNA_enum_get(), and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 700 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 993 of file drawnode.c.
References C, CTX_data_pointer_get(), PointerRNA::data, DEFAULT_FLAGS, OB_MESH, ptr, RNA_enum_get(), RNA_pointer_get(), SHD_SPACE_TANGENT, uiItemPointerR(), and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1162 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1046 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1072 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1096 of file drawnode.c.
References DEFAULT_FLAGS, NODE_SCRIPT_INTERNAL, NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, uiItemO(), uiItemR(), and uiLayoutRow().
Referenced by node_shader_buts_script_ex(), and node_shader_set_butfunc().
|
static |
Definition at line 1115 of file drawnode.c.
References C, DEFAULT_FLAGS, NODE_SCRIPT_EXTERNAL, node_shader_buts_script(), NULL, ptr, RNA_enum_get(), uiItemR(), and uiItemS().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1057 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1015 of file drawnode.c.
References C, CTX_data_pointer_get(), PointerRNA::data, DEFAULT_FLAGS, NULL, OB_MESH, ptr, RNA_enum_get(), RNA_pointer_get(), SHD_TANGENT_UVMAP, blender::io::alembic::split(), UI_ITEM_R_EXPAND, uiItemPointerR(), uiItemR(), uiLayoutRow(), and uiLayoutSplit().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 849 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 943 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 771 of file drawnode.c.
References C, DEFAULT_FLAGS, node_buts_image_user(), NULL, ptr, RNA_pointer_get(), UI_TEMPLATE_ID_FILTER_ALL, uiItemR(), uiLayoutSetContextPointer(), and uiTemplateID().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 794 of file drawnode.c.
References C, DEFAULT_FLAGS, IFACE_, ptr, RNA_pointer_get(), uiItemR(), and uiTemplateImage().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 839 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 734 of file drawnode.c.
References C, DEFAULT_FLAGS, node_buts_image_user(), NULL, ptr, RNA_enum_get(), RNA_pointer_get(), SHD_PROJ_BOX, UI_TEMPLATE_ID_FILTER_ALL, uiItemR(), uiLayoutSetContextPointer(), and uiTemplateID().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 765 of file drawnode.c.
References C, ptr, RNA_pointer_get(), and uiTemplateImage().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 844 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 876 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 893 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 898 of file drawnode.c.
References Object::data, PointerRNA::data, DEFAULT_FLAGS, node, NULL, NodeShaderTexPointDensity::ob_color_source, NodeShaderTexPointDensity::point_source, ptr, RNA_id_pointer_create(), SHD_POINTDENSITY_COLOR_VERTCOL, SHD_POINTDENSITY_COLOR_VERTWEIGHT, SHD_POINTDENSITY_SOURCE_PSYS, UI_ITEM_R_EXPAND, uiItemPointerR(), and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 803 of file drawnode.c.
References col, DEFAULT_FLAGS, NULL, ptr, RNA_boolean_get(), RNA_enum_get(), SHD_SKY_HOSEK, SHD_SKY_NISHITA, SHD_SKY_PREETHAM, uiItemR(), and uiLayoutColumn().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 882 of file drawnode.c.
References DEFAULT_FLAGS, ELEM, ptr, RNA_enum_get(), SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_N_SPHERE_RADIUS, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 862 of file drawnode.c.
References DEFAULT_FLAGS, ptr, RNA_enum_get(), SHD_WAVE_BANDS, type, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1062 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 988 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 954 of file drawnode.c.
References C, CTX_data_pointer_get(), PointerRNA::data, DEFAULT_FLAGS, NULL, OB_MESH, ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_get(), uiItemPointerR(), and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 711 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 716 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, UI_ITEM_R_EXPAND, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 705 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 968 of file drawnode.c.
References C, CTX_data_pointer_get(), PointerRNA::data, OB_MESH, ptr, RNA_collection_length(), RNA_enum_get(), RNA_pointer_get(), uiItemL(), and uiItemPointerR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1157 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 729 of file drawnode.c.
References DEFAULT_FLAGS, NULL, ptr, and uiItemR().
Referenced by node_shader_set_butfunc().
|
static |
Definition at line 1168 of file drawnode.c.
References bNodeType::draw_buttons, bNodeType::draw_buttons_ex, node_buts_colorramp(), node_buts_curvecol(), node_buts_curvevec(), node_buts_math(), node_buts_mix_rgb(), node_buts_normal(), node_buts_output_linestyle(), node_buts_output_shader(), node_buts_rgb(), node_buts_value(), node_shader_buts_ambient_occlusion(), node_shader_buts_anisotropic(), node_shader_buts_attribute(), node_shader_buts_bevel(), node_shader_buts_bump(), node_shader_buts_clamp(), node_shader_buts_displacement(), node_shader_buts_glossy(), node_shader_buts_hair(), node_shader_buts_ies(), node_shader_buts_map_range(), node_shader_buts_mapping(), node_shader_buts_normal_map(), node_shader_buts_output_aov(), node_shader_buts_principled(), node_shader_buts_principled_hair(), node_shader_buts_script(), node_shader_buts_script_ex(), node_shader_buts_subsurface(), node_shader_buts_tangent(), node_shader_buts_tex_brick(), node_shader_buts_tex_coord(), node_shader_buts_tex_environment(), node_shader_buts_tex_environment_ex(), node_shader_buts_tex_gradient(), node_shader_buts_tex_image(), node_shader_buts_tex_image_ex(), node_shader_buts_tex_magic(), node_shader_buts_tex_musgrave(), node_shader_buts_tex_noise(), node_shader_buts_tex_pointdensity(), node_shader_buts_tex_sky(), node_shader_buts_tex_voronoi(), node_shader_buts_tex_wave(), node_shader_buts_toon(), node_shader_buts_uvalongstroke(), node_shader_buts_uvmap(), node_shader_buts_vect_math(), node_shader_buts_vect_transform(), node_shader_buts_vector_rotate(), node_shader_buts_vertex_color(), node_shader_buts_white_noise(), node_shader_buts_wireframe(), SH_NODE_AMBIENT_OCCLUSION, SH_NODE_ATTRIBUTE, SH_NODE_BEVEL, SH_NODE_BSDF_ANISOTROPIC, SH_NODE_BSDF_GLASS, SH_NODE_BSDF_GLOSSY, SH_NODE_BSDF_HAIR, SH_NODE_BSDF_HAIR_PRINCIPLED, SH_NODE_BSDF_PRINCIPLED, SH_NODE_BSDF_REFRACTION, SH_NODE_BSDF_TOON, SH_NODE_BUMP, SH_NODE_CLAMP, SH_NODE_CURVE_RGB, SH_NODE_CURVE_VEC, SH_NODE_DISPLACEMENT, SH_NODE_MAP_RANGE, SH_NODE_MAPPING, SH_NODE_MATH, SH_NODE_MIX_RGB, SH_NODE_NORMAL, SH_NODE_NORMAL_MAP, SH_NODE_OUTPUT_AOV, SH_NODE_OUTPUT_LIGHT, SH_NODE_OUTPUT_LINESTYLE, SH_NODE_OUTPUT_MATERIAL, SH_NODE_OUTPUT_WORLD, SH_NODE_RGB, SH_NODE_SCRIPT, SH_NODE_SUBSURFACE_SCATTERING, SH_NODE_TANGENT, SH_NODE_TEX_BRICK, SH_NODE_TEX_COORD, SH_NODE_TEX_ENVIRONMENT, SH_NODE_TEX_GRADIENT, SH_NODE_TEX_IES, SH_NODE_TEX_IMAGE, SH_NODE_TEX_MAGIC, SH_NODE_TEX_MUSGRAVE, SH_NODE_TEX_NOISE, SH_NODE_TEX_POINTDENSITY, SH_NODE_TEX_SKY, SH_NODE_TEX_VORONOI, SH_NODE_TEX_WAVE, SH_NODE_TEX_WHITE_NOISE, SH_NODE_UVALONGSTROKE, SH_NODE_UVMAP, SH_NODE_VALTORGB, SH_NODE_VALUE, SH_NODE_VECT_TRANSFORM, SH_NODE_VECTOR_DISPLACEMENT, SH_NODE_VECTOR_MATH, SH_NODE_VECTOR_ROTATE, SH_NODE_VERTEX_COLOR, SH_NODE_WIREFRAME, and bNodeType::type.
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 85 of file drawnode.c.
References uiItemL().
Referenced by ED_init_custom_node_socket_type(), ED_init_node_socket_type_virtual(), and std_node_socket_draw().
|
static |
Definition at line 3198 of file drawnode.c.
References bNodeSocketTemplate::identifier, node_property_update_default(), RNA_def_property_update_runtime(), bNodeType::rna_ext, RNA_struct_type_find_property(), and ExtensionRNA::srna.
Referenced by node_template_properties_update().
|
static |
Definition at line 3224 of file drawnode.c.
References IFACE_, and uiItemL().
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 3233 of file drawnode.c.
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 3244 of file drawnode.c.
References IFACE_, and uiItemL().
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 3251 of file drawnode.c.
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 3534 of file drawnode.c.
References copy_v4_v4(), and virtual_node_socket_color.
Referenced by ED_init_node_socket_type_virtual().
|
static |
Definition at line 3208 of file drawnode.c.
References bNodeType::inputs, node_socket_template_properties_update(), bNodeType::outputs, and bNodeSocketTemplate::type.
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 3014 of file drawnode.c.
References col, DEFAULT_FLAGS, IFACE_, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().
Referenced by node_texture_set_butfunc().
|
static |
Definition at line 3112 of file drawnode.c.
References C, NULL, ptr, UI_TEMPLATE_ID_FILTER_ALL, and uiTemplateID().
Referenced by node_texture_set_butfunc().
|
static |
Definition at line 3126 of file drawnode.c.
References C, PointerRNA::data, node, PointerRNA::owner_id, ptr, RNA_ImageUser, RNA_pointer_create(), and uiTemplateImage().
Referenced by node_texture_set_butfunc().
|
static |
Definition at line 3135 of file drawnode.c.
References DEFAULT_FLAGS, ptr, and uiItemR().
Referenced by node_texture_set_butfunc().
|
static |
Definition at line 3027 of file drawnode.c.
References col, PointerRNA::data, DEFAULT_FLAGS, ELEM, IFACE_, node, NULL, PointerRNA::owner_id, ptr, RNA_pointer_create(), RNA_Texture, Tex::stype, tex, TEX_BAND, TEX_BLEND, TEX_CLOUDS, TEX_DISTNOISE, TEX_MAGIC, TEX_MARBLE, TEX_MINKOVSKY, TEX_MUSGRAVE, TEX_RING, TEX_STUCCI, TEX_VORONOI, TEX_WOOD, Tex::type, UI_ITEM_R_EXPAND, uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetActive(), and Tex::vn_distm.
Referenced by node_texture_set_butfunc().
|
static |
Definition at line 3141 of file drawnode.c.
References bNodeType::draw_buttons, bNodeType::draw_buttons_ex, node_buts_colorramp(), node_buts_curvecol(), node_buts_math(), node_buts_mix_rgb(), node_buts_texture(), node_buts_time(), node_texture_buts_bricks(), node_texture_buts_image(), node_texture_buts_image_ex(), node_texture_buts_output(), node_texture_buts_proc(), TEX_NODE_BRICKS, TEX_NODE_CURVE_RGB, TEX_NODE_CURVE_TIME, TEX_NODE_IMAGE, TEX_NODE_MATH, TEX_NODE_MIX_RGB, TEX_NODE_OUTPUT, TEX_NODE_PROC, TEX_NODE_PROC_MAX, TEX_NODE_TEXTURE, TEX_NODE_VALTORGB, and bNodeType::type.
Referenced by ED_node_init_butfuncs().
|
static |
Definition at line 608 of file drawnode.c.
References bNodeSocket::locx, bNodeSocket::locy, node, square_f(), x, and y.
Referenced by node_common_set_butfunc().
|
static |
Definition at line 3982 of file drawnode.c.
References BLI_assert, copy_v2_v2(), ELEM, g_batch_link, GPU_vertbuf_raw_step(), nodelink_batch_draw(), nodelink_get_color_id(), NODELINK_GROUP_SIZE, TH_ACTIVE, TH_EDGE_SELECT, TH_REDALERT, TH_WIRE, and TH_WIRE_INNER.
Referenced by node_draw_link_bezier().
|
static |
Definition at line 3942 of file drawnode.c.
References ARROW_SIZE, SpaceNode_Runtime::aspect, g_batch_link, GPU_batch_draw(), GPU_batch_program_set_builtin(), GPU_batch_uniform_1f, GPU_batch_uniform_4fv_array, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_SHADER_2D_NODELINK_INST, GPU_vertbuf_data_len_set(), GPU_vertbuf_use(), LINK_WIDTH, nodelink_batch_reset(), nodelink_get_color_id(), SpaceNode::runtime, TH_ACTIVE, TH_EDGE_SELECT, TH_REDALERT, TH_WIRE, TH_WIRE_INNER, and UI_GetThemeColor4fv().
Referenced by nodelink_batch_add_link(), and nodelink_batch_end().
| void nodelink_batch_end | ( | SpaceNode * | snode | ) |
Definition at line 3976 of file drawnode.c.
References g_batch_link, and nodelink_batch_draw().
Referenced by node_draw_nodetree().
|
static |
Definition at line 3817 of file drawnode.c.
References arrow_expand_axis, arrow_verts, copy_v2_v2(), KDL::exp(), expand_id(), float(), g_batch_link, GPU_batch_create_ex(), GPU_batch_instbuf_set(), GPU_BATCH_OWNS_VBO, gpu_batch_presets_register(), GPU_COMP_F32, GPU_COMP_U8, GPU_FETCH_FLOAT, GPU_FETCH_INT, GPU_FETCH_INT_TO_FLOAT_UNIT, GPU_PRIM_TRI_STRIP, GPU_USAGE_STATIC, GPU_USAGE_STREAM, GPU_vertbuf_create_with_format_ex(), GPU_vertbuf_data_alloc(), GPU_vertformat_attr_add(), LINK_RESOL, mute_expand_axis, mute_verts, nodelink_batch_reset(), NODELINK_GROUP_SIZE, NULL, pos, set_nodelink_vertex(), and v.
Referenced by node_draw_link_bezier().
|
static |
Definition at line 3790 of file drawnode.c.
References g_batch_link, and GPU_vertbuf_attr_get_raw_data().
Referenced by nodelink_batch_draw(), and nodelink_batch_init().
| void nodelink_batch_start | ( | SpaceNode * | UNUSEDsnode | ) |
Definition at line 3971 of file drawnode.c.
References g_batch_link.
Referenced by node_draw_nodetree().
|
static |
Definition at line 3925 of file drawnode.c.
References TH_ACTIVE, TH_EDGE_SELECT, TH_REDALERT, TH_WIRE, and TH_WIRE_INNER.
Referenced by nodelink_batch_add_link(), and nodelink_batch_draw().
|
static |
Definition at line 3803 of file drawnode.c.
References KDL::exp(), GPU_vertbuf_attr_set(), pos, and v.
Referenced by nodelink_batch_init().
|
static |
Definition at line 3409 of file drawnode.c.
References C, CMP_NODE_OUTPUT_FILE, PointerRNA::data, DEFAULT_FLAGS, bNodeSocket::flag, if(), bNodeSocket::in_out, node, node_file_output_socket_draw(), node_geometry_add_attribute_search_button(), node_socket_button_label(), NTREE_GEOMETRY, PointerRNA::owner_id, PROP_DIRECTION, ptr, SOCK_BOOLEAN, SOCK_COLLECTION, SOCK_COMPACT, SOCK_FLOAT, SOCK_HIDE_VALUE, SOCK_IMAGE, SOCK_IN_USE, SOCK_INT, SOCK_OBJECT, SOCK_OUT, SOCK_RGBA, SOCK_STRING, SOCK_VECTOR, bNodeSocketType::subtype, bNodeSocketType::type, type, bNodeSocket::typeinfo, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutSplit(), and uiTemplateComponentMenu().
Referenced by ED_init_standard_node_socket_type().
|
static |
Definition at line 3343 of file drawnode.c.
References copy_v4_v4(), PointerRNA::data, ptr, std_node_socket_colors, bNodeSocketType::type, type, and bNodeSocket::typeinfo.
Referenced by ED_init_standard_node_socket_type().
|
static |
Definition at line 3486 of file drawnode.c.
References col, PointerRNA::data, DEFAULT_FLAGS, IFACE_, NULL, ptr, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_STRING, SOCK_VECTOR, bNodeSocketType::type, type, bNodeSocket::typeinfo, UI_ITEM_R_EXPAND, uiItemR(), and uiLayoutColumn().
Referenced by ED_init_standard_node_socket_type().
|
static |
Definition at line 3352 of file drawnode.c.
References copy_v4_v4(), PointerRNA::data, ptr, std_node_socket_colors, bNodeSocketType::type, type, and bNodeSocket::typeinfo.
Referenced by ED_init_standard_node_socket_type().
|
static |
Definition at line 169 of file drawnode.c.
Referenced by ED_node_sample_set(), node_buts_curvecol(), and node_composit_buts_huecorrect().
Definition at line 3774 of file drawnode.c.
Referenced by nodelink_batch_init().
|
static |
Definition at line 3773 of file drawnode.c.
Referenced by nodelink_batch_init().
| GPUBatch* batch |
Definition at line 3779 of file drawnode.c.
Referenced by blender::gpu::GLDrawList::append(), blender::gpu::GLVaoCache::base_instance_vao_get(), BPyGPUBatch_CreatePyObject(), curve_batch_cache_clear(), draw_cache_view_batch(), draw_call_single_do(), draw_line_bounds(), draw_line_loop(), draw_line_pairs(), draw_select_buffer(), draw_seq_fcurve_overlay(), draw_widgetbase_batch(), drawscredge_area_draw(), DRW_batch_request(), DRW_batch_requested(), drw_command_draw(), drw_command_draw_instance(), drw_command_draw_intance_range(), drw_command_draw_procedural(), drw_command_draw_range(), DRW_draw_depth_object(), DRW_ibo_request(), DRW_instance_buffer_finish(), DRW_shape_cache_free(), DRW_shgroup_call_buffer(), DRW_shgroup_call_buffer_instance(), DRW_shgroup_call_instances_with_attrs(), DRW_temp_batch_instance_request(), DRW_temp_batch_request(), DRW_vbo_request(), ED_screen_draw_edges(), EEVEE_motion_blur_cache_finish(), EEVEE_motion_blur_cache_populate(), SetupContactConstraintsLoop::forLoop(), gpencil_dummy_buffer_get(), gpencil_sbuffer_stroke_ensure(), GPU_batch_calloc(), GPU_batch_clear(), GPU_batch_create_ex(), GPU_batch_discard(), GPU_batch_draw(), GPU_batch_draw_advanced(), GPU_batch_draw_instanced(), GPU_batch_draw_range(), GPU_batch_elembuf_set(), GPU_batch_init_ex(), GPU_batch_instbuf_add_ex(), GPU_batch_instbuf_set(), GPU_batch_program_set_builtin(), GPU_batch_program_set_builtin_with_config(), GPU_batch_program_set_imm_shader(), GPU_batch_set_shader(), GPU_batch_vertbuf_add_ex(), GPU_draw_list_append(), gpu_viewport_draw_colormanaged(), instancing_batch_references_add(), instancing_batch_references_remove(), knifetool_draw(), mergeSmallBatches(), mesh_batch_cache_clear(), motion_blur_remove_vbo_reference_from_batch(), node_draw_link_bezier(), panel_draw_aligned_widgets(), pygpu_batch__tp_new(), randomizeBatchedConstraintOrdering(), setupSpatialGridBatchesMt(), stitch_draw_vbo(), ContactSplitPenetrationImpulseSolverLoop::sumLoop(), JointSolverLoop::sumLoop(), ContactSolverLoop::sumLoop(), ContactFrictionSolverLoop::sumLoop(), InterleavedContactSolverLoop::sumLoop(), ContactRollingFrictionSolverLoop::sumLoop(), temp_batch_free(), ui_draw_dropshadow(), UI_draw_roundbox_4fv_ex(), UI_widgetbase_draw_cache_flush(), blender::gpu::GLVertArray::update_bindings(), btBatchedConstraints::validate(), blender::gpu::GLVaoCache::vao_get(), waveform_draw_one(), wm_gizmo_geometryinfo_draw(), and writeOutBatches().
| GPUBatch* batch_single |
Definition at line 3780 of file drawnode.c.
| uint colid_id |
Definition at line 3783 of file drawnode.c.
| GPUVertBufRaw colid_step |
Definition at line 3785 of file drawnode.c.
| uint count |
Definition at line 3786 of file drawnode.c.
| bool enabled |
Definition at line 3787 of file drawnode.c.
| struct { ... } g_batch_link |
| GPUVertBuf* inst_vbo |
Definition at line 3781 of file drawnode.c.
Referenced by drw_debug_draw_spheres().
|
static |
Definition at line 3776 of file drawnode.c.
Referenced by nodelink_batch_init().
|
static |
Definition at line 3775 of file drawnode.c.
Referenced by nodelink_batch_init().
| uint muted_id |
Definition at line 3783 of file drawnode.c.
| GPUVertBufRaw muted_step |
Definition at line 3785 of file drawnode.c.
| uint p0_id |
Definition at line 3782 of file drawnode.c.
| GPUVertBufRaw p0_step |
Definition at line 3784 of file drawnode.c.
| uint p1_id |
Definition at line 3782 of file drawnode.c.
| GPUVertBufRaw p1_step |
Definition at line 3784 of file drawnode.c.
| uint p2_id |
Definition at line 3782 of file drawnode.c.
| GPUVertBufRaw p2_step |
Definition at line 3784 of file drawnode.c.
| uint p3_id |
Definition at line 3782 of file drawnode.c.
| GPUVertBufRaw p3_step |
Definition at line 3784 of file drawnode.c.
|
static |
Definition at line 3327 of file drawnode.c.
Referenced by std_node_socket_draw_color(), and std_node_socket_interface_draw_color().
|
static |
Definition at line 3324 of file drawnode.c.
Referenced by node_socket_virtual_draw_color().