set_hw_render_context_negotiation_interface

Function set_hw_render_context_negotiation_interface 

Source
pub unsafe fn set_hw_render_context_negotiation_interface(
    callback: retro_environment_t,
    interface: &retro_hw_render_context_negotiation_interface,
) -> bool
Expand description

Unstable Sets an interface which lets the libretro core negotiate with frontend how a context is created. The semantics of this interface depends on which API is used in set_hw_render earlier. This interface will be used when the frontend is trying to create a HW rendering context, so it will be used after set_hw_render, but before the context_reset callback.

ยงThis feature is unstable and guarded by the unstable-env-commands feature flag.

Please be advised that this feature might change without further notice and no guarantees about its stability can be made.