28 .default_value({1.0f, 1.0f, 1.0f, 1.0f})
29 .compositor_domain_priority(0);
35 .compositor_expects_single_value();
71 switch (
bnode().custom1) {
73 return Interpolation::Nearest;
75 return Interpolation::Bilinear;
77 return Interpolation::Bicubic;
81 return Interpolation::Nearest;
99 ntype.
declare = file_ns::cmp_node_rotate_declare;
100 ntype.
draw_buttons = file_ns::node_composit_buts_rotate;
101 ntype.
initfunc = file_ns::node_composit_init_rotate;
#define NODE_CLASS_DISTORT
#define BLI_assert_unreachable()
void uiItemR(uiLayout *layout, PointerRNA *ptr, const char *propname, eUI_Item_Flag flag, const char *name, int icon)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
Interpolation get_interpolation()
NodeOperation(Context &context, DNode node)
const bNode & bnode() const
Result & get_input(StringRef identifier) const
Result & get_result(StringRef identifier)
Context & context() const
float get_float_value_default(float default_value) const
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
MatT from_rotation(const RotationT &rotation)
static void node_composit_buts_rotate(uiLayout *layout, bContext *, PointerRNA *ptr)
static void cmp_node_rotate_declare(NodeDeclarationBuilder &b)
static void node_composit_init_rotate(bNodeTree *, bNode *node)
static NodeOperation * get_compositor_operation(Context &context, DNode node)
void transform(Context &context, Result &input, Result &output, const float3x3 &transformation, RealizationOptions realization_options)
void register_node_type_cmp_rotate()
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
NodeGetCompositorOperationFunction get_compositor_operation
void(* initfunc)(bNodeTree *ntree, bNode *node)
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
Interpolation interpolation