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