Example #1
0
        public static Bool fcGifWriteFile(fcGIFContext ctx, string path, int begin_frame = 0, int end_frame = -1)
        {
            fcStream fstream = fcCreateFileStream(path);
            Bool     ret     = fcGifWrite(ctx, fstream, begin_frame, end_frame);

            fcDestroyStream(fstream);
            return(ret);
        }
Example #2
0
 [DllImport("FrameCapturer")] private static extern int         fcGifAddFrameTextureDeferred(fcGIFContext ctx, IntPtr tex, fcPixelFormat fmt, Bool keyframe, double timestamp, int id);
Example #3
0
 [DllImport("FrameCapturer")] public static extern void         fcGifDestroyContext(fcGIFContext ctx);
Example #4
0
 public static extern void fcGifGetFrameData(fcGIFContext ctx, IntPtr tex, int frame);
Example #5
0
 public static extern Bool fcGifWrite(fcGIFContext ctx, fcStream stream, int begin_frame=0, int end_frame=-1);
Example #6
0
 public static int fcGifAddFrameTexture(fcGIFContext ctx, RenderTexture tex, bool keyframe, double timestamp, int id)
 {
     return(fcGifAddFrameTextureDeferred(ctx, tex.GetNativeTexturePtr(), fcGetPixelFormat(tex.format), keyframe, timestamp, id));
 }
Example #7
0
 [DllImport("FrameCapturer")] public static extern int          fcGifGetExpectedDataSize(fcGIFContext ctx, int begin_frame, int end_frame);
Example #8
0
 [DllImport("FrameCapturer")] public static extern int          fcGifGetFrameCount(fcGIFContext ctx);
Example #9
0
 public static extern void fcGifClearFrame(fcGIFContext ctx);
Example #10
0
 public static extern void fcGifAddFrame(fcGIFContext ctx, IntPtr tex);
Example #11
0
 public static extern int fcGifWriteMemory(fcGIFContext ctx, IntPtr out_buf, int begin_frame=0, int end_frame=-1);
Example #12
0
 public static extern bool fcGifWriteFile(fcGIFContext ctx, string path, int begin_frame=0, int end_frame=-1);
Example #13
0
 private static extern int fcGifAddFrameTextureDeferred(fcGIFContext ctx, IntPtr tex, fcPixelFormat fmt, Bool keyframe, double timestamp, int id);
Example #14
0
 public static Bool fcGifWriteFile(fcGIFContext ctx, string path, int begin_frame = 0, int end_frame = -1)
 {
     fcStream fstream = fcCreateFileStream(path);
     Bool ret = fcGifWrite(ctx, fstream, begin_frame, end_frame);
     fcDestroyStream(fstream);
     return ret;
 }
Example #15
0
 [DllImport("FrameCapturer")] public static extern Bool         fcGifWrite(fcGIFContext ctx, fcStream stream, int begin_frame = 0, int end_frame = -1);
Example #16
0
 [DllImport("FrameCapturer")] public static extern void         fcGifClearFrame(fcGIFContext ctx);
Example #17
0
 public static extern void fcGifDestroyContext(fcGIFContext ctx);
Example #18
0
 [DllImport("FrameCapturer")] public static extern void         fcGifGetFrameData(fcGIFContext ctx, IntPtr tex, int frame);
Example #19
0
 public static extern void fcGifEraseFrame(fcGIFContext ctx, int begin_frame, int end_frame);
Example #20
0
 [DllImport("FrameCapturer")] public static extern void         fcGifEraseFrame(fcGIFContext ctx, int begin_frame, int end_frame);
Example #21
0
 public static extern int fcGifGetExpectedDataSize(fcGIFContext ctx, int begin_frame, int end_frame);
Example #22
0
 public static extern int fcGifGetFrameCount(fcGIFContext ctx);
Example #23
0
 public static int fcGifAddFrameTexture(fcGIFContext ctx, RenderTexture tex, bool keyframe, double timestamp, int id)
 {
     return fcGifAddFrameTextureDeferred(ctx, tex.GetNativeTexturePtr(), fcGetPixelFormat(tex.format), keyframe, timestamp, id);
 }