Shinya Kitaoka 810553
#pragma once
Shinya Kitaoka 810553
Toshihiro Shimizu 890ddd
#ifndef PLUGIN_FXNODE_INTERFACE
Toshihiro Shimizu 890ddd
#define PLUGIN_FXNODE_INTERFACE
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "toonz_hostif.h"
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
int fxnode_get_bbox(toonz_fxnode_handle_t fxnode,
Shinya Kitaoka 120a6e
                    const toonz_rendering_setting_t *, double frame,
Shinya Kitaoka 120a6e
                    toonz_rect_t *rect, int *ret);
Shinya Kitaoka 120a6e
int fxnode_can_handle(toonz_fxnode_handle_t fxnode,
Shinya Kitaoka 120a6e
                      const toonz_rendering_setting_t *, double frame,
Shinya Kitaoka 120a6e
                      int *ret);
Toshihiro Shimizu 890ddd
int fxnode_get_input_port_count(toonz_fxnode_handle_t fxnode, int *count);
Shinya Kitaoka 120a6e
int fxnode_get_input_port(toonz_fxnode_handle_t fxnode, int index,
Shinya Kitaoka 120a6e
                          toonz_port_handle_t *port);
Shinya Kitaoka 120a6e
int fxnode_compute_to_tile(toonz_fxnode_handle_t fxnode,
Shinya Kitaoka 120a6e
                           const toonz_rendering_setting_t *rendering_setting,
Shinya Kitaoka 120a6e
                           double frame, const toonz_rect_t *rect,
Shinya Kitaoka 120a6e
                           toonz_tile_handle_t intile,
Shinya Kitaoka 120a6e
                           toonz_tile_handle_t tile);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif