|
Blender V5.3
|
lower level node drawing for nodes (boarders, headers etc), also node layout. More...
#include "BLI_color_types.hh"#include "BLI_listbase.hh"#include "BLI_string_utf8.hh"#include "BLI_threads.hh"#include "DNA_node_types.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "DNA_userdef_types.h"#include "BKE_context.hh"#include "BKE_curve.hh"#include "BKE_image.hh"#include "BKE_main.hh"#include "BKE_main_invariants.hh"#include "BKE_node.hh"#include "BKE_node_enum.hh"#include "BKE_node_legacy_types.hh"#include "BKE_node_runtime.hh"#include "BKE_node_tree_update.hh"#include "BKE_scene.hh"#include "BLT_translation.hh"#include "BIF_glutil.hh"#include "GPU_batch.hh"#include "GPU_batch_presets.hh"#include "GPU_framebuffer.hh"#include "GPU_immediate.hh"#include "GPU_matrix.hh"#include "GPU_shader_shared.hh"#include "GPU_state.hh"#include "GPU_uniform_buffer.hh"#include "GPU_viewport.hh"#include "DRW_engine.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_prototypes.hh"#include "ED_node.hh"#include "ED_space_api.hh"#include "WM_api.hh"#include "WM_types.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "IMB_colormanagement.hh"#include "IMB_imbuf_types.hh"#include "NOD_geometry.hh"#include "NOD_geometry_nodes_bundle.hh"#include "NOD_geometry_nodes_gizmos.hh"#include "NOD_node_declaration.hh"#include "NOD_socket.hh"#include "NOD_socket_declarations.hh"#include "node_intern.hh"Go to the source code of this file.
Classes | |
| struct | blender::ed::space_node::GBatchNodesocket |
| struct | blender::ed::space_node::NodeLinkDrawConfig |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::ed |
| namespace | blender::ed::space_node |
Macros | |
| #define | DEFAULT_FLAGS ui::ITEM_R_SPLIT_EMPTY_NAME |
| #define | SAMPLE_FLT_ISNONE FLT_MAX |
Variables | |
| static float | blender::_sample_col [4] = {SAMPLE_FLT_ISNONE} |
Node Socket Drawing | |
| #define | MAX_SOCKET_PARAMETERS 4 |
| #define | MAX_SOCKET_INSTANCE 32 |
| static GBatchNodesocket & | blender::ed::space_node::g_batch_nodesocket () |
| static gpu::Batch * | blender::ed::space_node::nodesocket_batch_init () |
| static void | blender::ed::space_node::nodesocket_cache_flush () |
| void | blender::ed::space_node::nodesocket_batch_start () |
| void | blender::ed::space_node::nodesocket_batch_end () |
| static void | blender::ed::space_node::draw_node_socket_batch (const NodeSocketShaderParameters &socket_params) |
| void | blender::ed::space_node::node_draw_nodesocket (const rctf *rect, const float color_inner[4], const float color_outline[4], float outline_thickness, int shape, float aspect) |
Standard Socket Colors | |
| using | blender::ed::space_node::SocketColorFn = void (*)(bContext *C, PointerRNA *ptr, PointerRNA *node_ptr, float *r_color) |
| static const float | blender::ed::space_node::virtual_node_socket_color [4] = {0.2, 0.2, 0.2, 1.0} |
| static const float | blender::ed::space_node::std_node_socket_colors [][4] |
| static const SocketColorFn | blender::ed::space_node::std_node_socket_color_funcs [] |
| void | blender::ed::space_node::std_node_socket_colors_get (int socket_type, float *r_color) |
| template<int socket_type> | |
| void | blender::ed::space_node::std_node_socket_color_fn (bContext *, PointerRNA *, PointerRNA *, float *r_color) |
| static void | blender::ed::space_node::std_node_socket_color_simple_fn (const bke::bNodeSocketType *type, float *r_color) |
lower level node drawing for nodes (boarders, headers etc), also node layout.
Definition in file drawnode.cc.
| #define ARROW_SIZE (7 * UI_SCALE_FAC) |
Definition at line 2031 of file drawnode.cc.
Referenced by blender::ed::space_node::nodelink_batch_draw().
| #define DEFAULT_FLAGS ui::ITEM_R_SPLIT_EMPTY_NAME |
Definition at line 78 of file drawnode.cc.
Referenced by blender::ed::space_node::node_buts_combsep_color(), blender::ed::space_node::node_buts_frame_ex(), blender::ed::space_node::node_buts_image_user(), blender::ed::space_node::node_buts_image_views(), blender::ed::space_node::node_buts_math(), blender::ed::space_node::node_buts_mix_rgb(), blender::ed::space_node::node_buts_normal(), blender::ed::space_node::node_buts_output_shader(), blender::ed::space_node::node_buts_texture(), blender::ed::space_node::node_composit_buts_combsep_color(), blender::ed::space_node::node_composit_buts_cryptomatte(), blender::ed::space_node::node_composit_buts_cryptomatte_legacy(), blender::ed::space_node::node_shader_buts_displacement(), blender::ed::space_node::node_shader_buts_glossy(), blender::ed::space_node::node_shader_buts_scatter(), blender::ed::space_node::node_shader_buts_tex_environment(), blender::ed::space_node::node_shader_buts_tex_environment_ex(), blender::ed::space_node::node_shader_buts_tex_image(), blender::ed::space_node::node_texture_buts_bricks(), blender::ed::space_node::node_texture_buts_combsep_color(), blender::ed::space_node::node_texture_buts_output(), blender::ed::space_node::node_texture_buts_proc(), blender::ed::space_node::std_node_socket_draw(), and blender::ed::space_node::std_node_socket_interface_draw().
| #define LINK_RESOL 24 |
Definition at line 2029 of file drawnode.cc.
Referenced by blender::ed::space_node::nodelink_batch_init().
| #define LINK_WIDTH 2.5f |
Definition at line 2030 of file drawnode.cc.
Referenced by blender::ed::space_node::nodelink_get_draw_config().
| #define MAX_SOCKET_INSTANCE 32 |
Definition at line 1894 of file drawnode.cc.
Referenced by blender::ed::space_node::draw_node_socket_batch(), and blender::ed::space_node::nodesocket_cache_flush().
| #define MAX_SOCKET_PARAMETERS 4 |
Definition at line 1893 of file drawnode.cc.
Referenced by blender::ed::space_node::draw_node_socket_batch(), and blender::ed::space_node::nodesocket_cache_flush().
| #define NODELINK_GROUP_SIZE 256 |
Definition at line 2028 of file drawnode.cc.
Referenced by blender::ed::space_node::nodelink_batch_add_link(), and blender::ed::space_node::nodelink_batch_init().
| #define SAMPLE_FLT_ISNONE FLT_MAX |
Definition at line 135 of file drawnode.cc.
Referenced by blender::ED_node_sample_set(), blender::ed::space_node::node_buts_curvecol(), and blender::ed::space_node::node_composit_buts_huecorrect().