38 data->rounding = 0.0f;
39 data->catadioptric = 0.0f;
40 data->lensshift = 0.0f;
72 node_storage(
bnode()).flaps,
73 node_storage(
bnode()).angle,
74 node_storage(
bnode()).rounding,
75 node_storage(
bnode()).catadioptric,
76 node_storage(
bnode()).lensshift);
79 output.wrap_external(bokeh_kernel);
102 ntype.
declare = file_ns::cmp_node_bokehimage_declare;
103 ntype.
draw_buttons = file_ns::node_composit_buts_bokehimage;
105 ntype.
initfunc = file_ns::node_composit_init_bokehimage;
#define NODE_STORAGE_FUNCS(StorageT)
void uiItemR(uiLayout *layout, PointerRNA *ptr, const char *propname, eUI_Item_Flag flag, const char *name, int icon)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
Domain compute_domain() override
Result & get(Context &context, int2 size, int sides, float rotation, float roundness, float catadioptric, float lens_shift)
StaticCacheManager & cache_manager()
NodeOperation(Context &context, DNode node)
const bNode & bnode() const
Result & get_result(StringRef identifier)
Context & context() const
BokehKernelContainer bokeh_kernels
local_group_size(16, 16) .push_constant(Type b
void node_type_storage(bNodeType *ntype, const char *storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
void node_register_type(bNodeType *ntype)
static void cmp_node_bokehimage_declare(NodeDeclarationBuilder &b)
static NodeOperation * get_compositor_operation(Context &context, DNode node)
static void node_composit_init_bokehimage(bNodeTree *, bNode *node)
static void node_composit_buts_bokehimage(uiLayout *layout, bContext *, PointerRNA *ptr)
VecBase< int32_t, 2 > int2
void register_node_type_cmp_bokehimage()
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
void node_free_standard_storage(bNode *node)
void node_copy_standard_storage(bNodeTree *, bNode *dest_node, const bNode *src_node)
NodeGetCompositorOperationFunction get_compositor_operation
void(* initfunc)(bNodeTree *ntree, bNode *node)
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare