pub unsafe extern "C" fn obs_display_create(
graphics_data: *const gs_init_data,
backround_color: u32,
) -> *mut obs_display_t
Expand description
Adds a new window display linked to the main render pipeline. This creates a new swap chain which updates every frame.
@param graphics_data The swap chain initialization data. @return The new display context, or NULL if failed.