46 for (sock =
data->lb->first; sock; sock = sock->
next) {
47 if (sock !=
data->sock) {
87 for (sock =
data->lb->first; sock; sock = sock->
next) {
88 if (sock !=
data->sock) {
130 "socket image format");
139 sockdata->
format = *im_format;
199 node->storage = nimf;
225 for (sock =
node->inputs.first; sock; sock = sock->
next) {
234 const bNode *src_node)
242 src_sock && dest_sock;
243 src_sock = src_sock->
next, dest_sock = dest_sock->
next) {
257 for (sock =
node->inputs.first; sock; sock = sock_next) {
258 sock_next = sock->
next;
263 for (sock =
node->outputs.first; sock; sock = sock_next) {
264 sock_next = sock->
next;
271 for (sock =
node->inputs.first; sock; sock = sock->
next) {
struct Scene * CTX_data_scene(const bContext *C)
void BKE_imformat_defaults(struct ImageFormatData *im_format)
bool BKE_imtype_is_movie(const char imtype)
#define NODE_CLASS_OUTPUT
void node_type_socket_templates(struct bNodeType *ntype, struct bNodeSocketTemplate *inputs, struct bNodeSocketTemplate *outputs)
void node_type_update(struct bNodeType *ntype, void(*updatefunc)(struct bNodeTree *ntree, struct bNode *node))
struct bNodeSocket * nodeAddStaticSocket(struct bNodeTree *ntree, struct bNode *node, eNodeSocketInOut in_out, int type, int subtype, const char *identifier, const char *name)
#define CMP_NODE_OUTPUT_FILE
void node_type_storage(struct bNodeType *ntype, const char *storagename, void(*freefunc)(struct bNode *node), void(*copyfunc)(struct bNodeTree *dest_ntree, struct bNode *dest_node, const struct bNode *src_node))
void nodeRemoveSocket(struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *sock)
void nodeRegisterType(struct bNodeType *ntype)
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL()
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
bool BLI_uniquename_cb(UniquenameCheckCallback unique_check, void *arg, const char *defname, char delim, char *name, size_t name_len)
#define R_IMF_IMTYPE_OPENEXR
void(* MEM_freeN)(void *vmemh)
void *(* MEM_dupallocN)(const void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
void ntreeCompositOutputFileUniqueLayer(ListBase *list, bNodeSocket *sock, const char defname[], char delim)
void ntreeCompositOutputFileSetPath(bNode *node, bNodeSocket *sock, const char *name)
static void free_output_file(bNode *node)
static void update_output_file(bNodeTree *ntree, bNode *node)
void register_node_type_cmp_output_file(void)
bNodeSocket * ntreeCompositOutputFileAddSocket(bNodeTree *ntree, bNode *node, const char *name, ImageFormatData *im_format)
static void init_output_file(const bContext *C, PointerRNA *ptr)
int ntreeCompositOutputFileRemoveActiveSocket(bNodeTree *ntree, bNode *node)
static bool unique_path_unique_check(void *arg, const char *name)
void ntreeCompositOutputFileSetLayer(bNode *node, bNodeSocket *sock, const char *name)
static bool unique_layer_unique_check(void *arg, const char *name)
static void copy_output_file(bNodeTree *UNUSED(dest_ntree), bNode *dest_node, const bNode *src_node)
void ntreeCompositOutputFileUniquePath(ListBase *list, bNodeSocket *sock, const char defname[], char delim)
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass, short flag)
void cmp_node_update_default(bNodeTree *UNUSED(ntree), bNode *node)
void RNA_pointer_create(ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
void RNA_enum_set(PointerRNA *ptr, const char *name, int value)
struct ImageFormatData im_format
struct bNodeSocket * next
void(* initfunc_api)(const struct bContext *C, struct PointerRNA *ptr)