Blender  V3.3
node_composite_pixelate.cc
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2006 Blender Foundation. All rights reserved. */
3 
8 #include "node_composite_util.hh"
9 
10 /* **************** Pixelate ******************** */
11 
13 
15 {
16  b.add_input<decl::Color>(N_("Color"));
17  b.add_output<decl::Color>(N_("Color"));
18 }
19 
20 } // namespace blender::nodes::node_composite_pixelate_cc
21 
23 {
25 
26  static bNodeType ntype;
27 
30 
31  nodeRegisterType(&ntype);
32 }
#define CMP_NODE_PIXELATE
Definition: BKE_node.h:1283
#define NODE_CLASS_OP_FILTER
Definition: BKE_node.h:349
void nodeRegisterType(struct bNodeType *ntype)
Definition: node.cc:1357
static void cmp_node_pixelate_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_cmp_pixelate()
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
Defines a node type.
Definition: BKE_node.h:226
NodeDeclareFunction declare
Definition: BKE_node.h:324
#define N_(msgid)