예제 #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));
 }
예제 #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);
예제 #3
0
 [DllImport("FrameCapturer")] public static extern void         fcPngDestroyContext(fcPNGContext ctx);
예제 #4
0
 private static extern int fcPngExportTextureDeferred(fcPNGContext ctx, string path, IntPtr tex, int width, int height, fcPixelFormat f, Bool flipY, int id);
예제 #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);
 }
예제 #6
0
 public static extern void fcPngDestroyContext(fcPNGContext ctx);