Exemple #1
0
 public static int fcPngExportTexture(fcPNGContext ctx, string path, RenderTexture tex, int pos)
 {
     return(fcPngExportTextureDeferred(ctx, path,
                                       tex.GetNativeTexturePtr(), tex.width, tex.height, fcGetPixelFormat(tex.format), false, pos));
 }
Exemple #2
0
 [DllImport("FrameCapturer")] private static extern int         fcPngExportTextureDeferred(fcPNGContext ctx, string path, IntPtr tex, int width, int height, fcPixelFormat f, Bool flipY, int id);
Exemple #3
0
 [DllImport("FrameCapturer")] public static extern void         fcPngDestroyContext(fcPNGContext ctx);
Exemple #4
0
 private static extern int fcPngExportTextureDeferred(fcPNGContext ctx, string path, IntPtr tex, int width, int height, fcPixelFormat f, Bool flipY, int id);
Exemple #5
0
 public static int fcPngExportTexture(fcPNGContext ctx, string path, RenderTexture tex, int pos)
 {
     return fcPngExportTextureDeferred(ctx, path,
         tex.GetNativeTexturePtr(), tex.width, tex.height, fcGetPixelFormat(tex.format), false, pos);
 }
Exemple #6
0
 public static extern void fcPngDestroyContext(fcPNGContext ctx);