25 #include "../node_composite_util.h"
29 {
SOCK_RGBA,
N_(
"Image"), 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
30 {
SOCK_RGBA,
N_(
"Bokeh"), 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f},
31 {
SOCK_FLOAT,
N_(
"Size"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 10.0f},
32 {
SOCK_FLOAT,
N_(
"Bounding box"), 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f},
36 {
SOCK_RGBA,
N_(
"Image"), 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f}, {-1,
""}};
41 node->custom4 = 16.0f;
void node_type_socket_templates(struct bNodeType *ntype, struct bNodeSocketTemplate *inputs, struct bNodeSocketTemplate *outputs)
void node_type_init(struct bNodeType *ntype, void(*initfunc)(struct bNodeTree *ntree, struct bNode *node))
#define NODE_CLASS_OP_FILTER
void nodeRegisterType(struct bNodeType *ntype)
Group RGB to Bright Vector Camera Vector Combine Material Light Line Style Layer Add Ambient Diffuse Glossy Refraction Transparent Toon Principled Hair Volume Principled Light Particle Volume Image Sky Noise Wave Voronoi Brick Texture Vector Combine Vertex Separate Vector White RGB Map Separate Set Z Dilate Combine Combine Color Channel Split ID Combine Luminance Directional Alpha Distance Hue Movie Ellipse CMP_NODE_BOKEHBLUR
static bNodeSocketTemplate cmp_node_bokehblur_in[]
void register_node_type_cmp_bokehblur(void)
static bNodeSocketTemplate cmp_node_bokehblur_out[]
static void node_composit_init_bokehblur(bNodeTree *UNUSED(ntree), bNode *node)
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass, short flag)
Compact definition of a node socket.