30 .compositor_domain_priority(0)
36 .compositor_expects_single_value();
41 .compositor_expects_single_value();
81 switch (node_storage(
bnode()).interpolation) {
96 return ELEM(node_storage(
bnode()).wrap_axis,
103 return ELEM(node_storage(
bnode()).wrap_axis,
127 ntype.
declare = file_ns::cmp_node_translate_declare;
128 ntype.
draw_buttons = file_ns::node_composit_buts_translate;
129 ntype.
initfunc = file_ns::node_composit_init_translate;
#define NODE_STORAGE_FUNCS(StorageT)
#define NODE_CLASS_DISTORT
#define CMP_NODE_TRANSLATE
#define BLI_assert_unreachable()
@ CMP_NODE_INTERPOLATION_NEAREST
@ CMP_NODE_INTERPOLATION_BILINEAR
@ CMP_NODE_INTERPOLATION_BICUBIC
@ CMP_NODE_TRANSLATE_REPEAT_AXIS_XY
@ CMP_NODE_TRANSLATE_REPEAT_AXIS_Y
@ CMP_NODE_TRANSLATE_REPEAT_AXIS_X
#define NOD_REGISTER_NODE(REGISTER_FUNC)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
BMesh const char void * data
const bNode & bnode() const
NodeOperation(Context &context, DNode node)
Result & get_result(StringRef identifier)
Result & get_input(StringRef identifier) const
void share_data(const Result &source)
RealizationOptions & get_realization_options()
T get_single_value_default(const T &default_value) const
ColorGeometry4f default_value
Interpolation get_interpolation()
NodeOperation(Context &context, DNode node)
void * MEM_callocN(size_t len, const char *str)
void node_register_type(bNodeType &ntype)
void node_type_storage(bNodeType &ntype, std::optional< StringRefNull > storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
MatT from_location(const typename MatT::loc_type &location)
static void node_composit_init_translate(bNodeTree *, bNode *node)
static void node_composit_buts_translate(uiLayout *layout, bContext *, PointerRNA *ptr)
static void cmp_node_translate_declare(NodeDeclarationBuilder &b)
static NodeOperation * get_compositor_operation(Context &context, DNode node)
VecBase< float, 2 > float2
static void register_node_type_cmp_translate()
void cmp_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
void node_free_standard_storage(bNode *node)
void node_copy_standard_storage(bNodeTree *, bNode *dest_node, const bNode *src_node)
std::string ui_description
NodeGetCompositorOperationFunction get_compositor_operation
void(* initfunc)(bNodeTree *ntree, bNode *node)
const char * enum_name_legacy
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
void prop(PointerRNA *ptr, PropertyRNA *prop, int index, int value, eUI_Item_Flag flag, std::optional< blender::StringRef > name_opt, int icon, std::optional< blender::StringRef > placeholder=std::nullopt)