ldk_os_graphics_context_destroy
Destroy the OS graphics context.
LDK_API void ldk_os_graphics_context_destroy(LDKGCtx context);
Parameters
LDKGCtx context- Context used by this operation.
Destroy the OS graphics context.
LDK_API void ldk_os_graphics_context_destroy(LDKGCtx context);
LDKGCtx contextMake a graphics context current for a window.
LDK_API void ldk_os_graphics_context_make_current(
LDKWindow window,
LDKGCtx context
);
Create the OS graphics context opengl.
LDK_API LDKGCtx ldk_os_graphics_context_opengl_create(
i32 version_major,
i32 version_minor,
i32 color_bits,
i32 depth_bits
);
i32 version_majori32 version_minori32 color_bitsi32 depth_bitsThe requested value.
Create the OS graphics context opengles.
LDK_API LDKGCtx ldk_os_graphics_context_opengles_create(
i32 version_major,
i32 version_minor,
i32 color_bits,
i32 depth_bits
);
i32 version_majori32 version_minori32 color_bitsi32 depth_bitsThe requested value.