Exemplo n.º 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);
        }
Exemplo n.º 2
0
 [DllImport("FrameCapturer")] private static extern int         fcGifAddFrameTextureDeferred(fcGIFContext ctx, IntPtr tex, fcPixelFormat fmt, Bool keyframe, double timestamp, int id);
Exemplo n.º 3
0
 [DllImport("FrameCapturer")] public static extern void         fcGifDestroyContext(fcGIFContext ctx);
Exemplo n.º 4
0
 public static extern void fcGifGetFrameData(fcGIFContext ctx, IntPtr tex, int frame);
Exemplo n.º 5
0
 public static extern Bool fcGifWrite(fcGIFContext ctx, fcStream stream, int begin_frame=0, int end_frame=-1);
Exemplo n.º 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));
 }
Exemplo n.º 7
0
 [DllImport("FrameCapturer")] public static extern int          fcGifGetExpectedDataSize(fcGIFContext ctx, int begin_frame, int end_frame);
Exemplo n.º 8
0
 [DllImport("FrameCapturer")] public static extern int          fcGifGetFrameCount(fcGIFContext ctx);
Exemplo n.º 9
0
 public static extern void fcGifClearFrame(fcGIFContext ctx);
Exemplo n.º 10
0
 public static extern void fcGifAddFrame(fcGIFContext ctx, IntPtr tex);
Exemplo n.º 11
0
 public static extern int fcGifWriteMemory(fcGIFContext ctx, IntPtr out_buf, int begin_frame=0, int end_frame=-1);
Exemplo n.º 12
0
 public static extern bool fcGifWriteFile(fcGIFContext ctx, string path, int begin_frame=0, int end_frame=-1);
Exemplo n.º 13
0
 private static extern int fcGifAddFrameTextureDeferred(fcGIFContext ctx, IntPtr tex, fcPixelFormat fmt, Bool keyframe, double timestamp, int id);
Exemplo n.º 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;
 }
Exemplo n.º 15
0
 [DllImport("FrameCapturer")] public static extern Bool         fcGifWrite(fcGIFContext ctx, fcStream stream, int begin_frame = 0, int end_frame = -1);
Exemplo n.º 16
0
 [DllImport("FrameCapturer")] public static extern void         fcGifClearFrame(fcGIFContext ctx);
Exemplo n.º 17
0
 public static extern void fcGifDestroyContext(fcGIFContext ctx);
Exemplo n.º 18
0
 [DllImport("FrameCapturer")] public static extern void         fcGifGetFrameData(fcGIFContext ctx, IntPtr tex, int frame);
Exemplo n.º 19
0
 public static extern void fcGifEraseFrame(fcGIFContext ctx, int begin_frame, int end_frame);
Exemplo n.º 20
0
 [DllImport("FrameCapturer")] public static extern void         fcGifEraseFrame(fcGIFContext ctx, int begin_frame, int end_frame);
Exemplo n.º 21
0
 public static extern int fcGifGetExpectedDataSize(fcGIFContext ctx, int begin_frame, int end_frame);
Exemplo n.º 22
0
 public static extern int fcGifGetFrameCount(fcGIFContext ctx);
Exemplo n.º 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);
 }