Blender V4.3
interface_template_node_inputs.cc File Reference
#include "BLI_vector.hh"
#include "BKE_context.hh"
#include "BKE_node.hh"
#include "BKE_node_runtime.hh"
#include "BKE_screen.hh"
#include "BLT_translation.hh"
#include "NOD_node_declaration.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ui
 
namespace  blender::ui::nodes
 

Functions

static void blender::ui::nodes::draw_node_input (bContext *C, uiLayout *layout, PointerRNA *node_ptr, bNodeSocket &socket)
 
static void blender::ui::nodes::draw_node_input (bContext *C, uiLayout *layout, PointerRNA *node_ptr, StringRefNull identifier)
 
static void blender::ui::nodes::handle_node_declaration_items (bContext *C, Panel *root_panel, uiLayout *layout, PointerRNA *node_ptr, ItemIterator &item_iter, const ItemIterator item_end)
 

Node Input Buttons Template

using ItemIterator = blender::Vector<blender::nodes::ItemDeclarationPtr>::const_iterator
 
void uiTemplateNodeInputs (uiLayout *layout, bContext *C, PointerRNA *ptr)
 

Typedef Documentation

◆ ItemIterator

Function Documentation

◆ uiTemplateNodeInputs()

void uiTemplateNodeInputs ( uiLayout * layout,
bContext * C,
PointerRNA * ptr )

Draw all node buttons and socket default values with the same panel structure used by the node.

Definition at line 123 of file interface_template_node_inputs.cc.

References BLI_assert, PointerRNA::data, blender::ui::nodes::draw_node_input(), blender::ui::nodes::handle_node_declaration_items(), PointerRNA::owner_id, ptr, tree, and uiLayoutGetRootPanel().