[DllImport("OpenToonzPlugin")] public static extern void otpEndRender(otpInstance inst);
[DllImport("OpenToonzPlugin")] public static extern int otpRenderDeferred(otpInstance inst, double frame, int id);
[DllImport("OpenToonzPlugin")] public static extern void otpBeginRender(otpInstance inst, int width, int height);
[DllImport("OpenToonzPlugin")] public static extern Bool otpRender(otpInstance inst, double frame);
// return result image. user *should not* otpImageDestroy() returned image [DllImport("OpenToonzPlugin")] public static extern otpImage otpGetDstImage(otpInstance inst);
[DllImport("OpenToonzPlugin")] public static extern otpParam otpGetParamByName(otpInstance inst, string name);
[DllImport("OpenToonzPlugin")] public static extern otpParam otpGetParam(otpInstance inst, int i);
[DllImport("OpenToonzPlugin")] public static extern int otpGetNumParams(otpInstance inst);
[DllImport("OpenToonzPlugin")] public static extern void otpDestroyInstance(otpInstance inst);