MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / render_screenshot_pose

Method render_screenshot_pose

StereoKit/Native/NativeAPI.cs:477–477  ·  view source on GitHub ↗
([In] byte[] file_utf8, int file_quality_100, Pose viewpoint, int width, int height, float field_of_view_degrees)

Source from the content-addressed store, hash-verified

475 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void render_add_model_mat (IntPtr model, IntPtr material_override, in Matrix transform, Color color, RenderLayer layer);
476 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void render_blit (IntPtr to_rendertarget, IntPtr material);
477 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void render_screenshot_pose([In] byte[] file_utf8, int file_quality_100, Pose viewpoint, int width, int height, float field_of_view_degrees);
478 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void render_screenshot_capture ([MarshalAs(UnmanagedType.FunctionPtr)] RenderOnScreenshotCallback render_on_screenshot_callback, Pose viewpoint, int width, int height, float fov_degrees, TexFormat tex_format, IntPtr context);
479 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void render_screenshot_viewpoint([MarshalAs(UnmanagedType.FunctionPtr)] RenderOnScreenshotCallback render_on_screenshot_callback, Matrix camera, Matrix projection, int width, int height, RenderLayer layer_filter, RenderClear clear, Rect viewport, TexFormat tex_format, IntPtr context);
480 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void render_to (IntPtr to_rendertarget, in Matrix camera, in Matrix projection, RenderLayer layer_filter, RenderClear clear, Rect viewport);

Callers 1

ScreenshotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected