29 .default_value({0.8f, 0.8f, 0.8f, 1.0f})
30 .compositor_domain_priority(0);
46 .compositor_expects_single_value();
72 get_input(
"Y").get_float_value_default(0.0f));
76 translation, rotation, scale);
86 switch (
bnode().custom1) {
88 return Interpolation::Nearest;
90 return Interpolation::Bilinear;
92 return Interpolation::Bicubic;
96 return Interpolation::Nearest;
114 ntype.
declare = file_ns::cmp_node_transform_declare;
115 ntype.
draw_buttons = file_ns::node_composit_buts_transform;
#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
bool compositor_expects_single_value() const
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_loc_rot_scale(const typename MatT::loc_type &location, const RotationT &rotation, const VecBase< typename MatT::base_type, ScaleDim > &scale)
void transform(Context &context, Result &input, Result &output, const float3x3 &transformation, RealizationOptions realization_options)
VecBase< float, 2 > float2
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
NodeGetCompositorOperationFunction get_compositor_operation
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
Interpolation interpolation