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

Method render_screenshot_capture

StereoKit/Native/NativeAPI.cs:478–478  ·  view source on GitHub ↗
([MarshalAs(UnmanagedType.FunctionPtr)] RenderOnScreenshotCallback render_on_screenshot_callback, Pose viewpoint, int width, int height, float fov_degrees, TexFormat tex_format, IntPtr context)

Source from the content-addressed store, hash-verified

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);
481 //[DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void render_get_device (void **device, void **context);

Callers 1

ScreenshotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected