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