コード例 #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
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern void fcGifGetFrameData(fcGIFContext ctx, IntPtr tex, int frame);
コード例 #5
0
ファイル: fcAPI.cs プロジェクト: ClintChil/FrameCapturer
 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
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern void fcGifClearFrame(fcGIFContext ctx);
コード例 #10
0
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern void fcGifAddFrame(fcGIFContext ctx, IntPtr tex);
コード例 #11
0
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern int fcGifWriteMemory(fcGIFContext ctx, IntPtr out_buf, int begin_frame=0, int end_frame=-1);
コード例 #12
0
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern bool fcGifWriteFile(fcGIFContext ctx, string path, int begin_frame=0, int end_frame=-1);
コード例 #13
0
ファイル: fcAPI.cs プロジェクト: ClintChil/FrameCapturer
 private static extern int fcGifAddFrameTextureDeferred(fcGIFContext ctx, IntPtr tex, fcPixelFormat fmt, Bool keyframe, double timestamp, int id);
コード例 #14
0
ファイル: fcAPI.cs プロジェクト: ClintChil/FrameCapturer
 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
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern void fcGifDestroyContext(fcGIFContext ctx);
コード例 #18
0
 [DllImport("FrameCapturer")] public static extern void         fcGifGetFrameData(fcGIFContext ctx, IntPtr tex, int frame);
コード例 #19
0
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 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
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern int fcGifGetExpectedDataSize(fcGIFContext ctx, int begin_frame, int end_frame);
コード例 #22
0
ファイル: fcAPI.cs プロジェクト: tasogare66/FrameCapturer
 public static extern int fcGifGetFrameCount(fcGIFContext ctx);
コード例 #23
0
ファイル: fcAPI.cs プロジェクト: ClintChil/FrameCapturer
 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);
 }