libretro.api.video.negotiate

Hardware rendering context negotiation types.

Corresponds to retro_hw_render_context_negotiation_interface in libretro.h.

Classes

ContextNegotiationInterfaceType

Type of context negotiation interface.

retro_hw_render_context_negotiation_interface

Corresponds to retro_hw_render_context_negotiation_interface in libretro.h.

class ContextNegotiationInterfaceType[source]

Bases: IntEnum

Type of context negotiation interface.

Corresponds to the RETRO_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE_* constants in libretro.h.

VULKAN = 0
__new__(value)
classmethod value in self

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)

classmethod self[name]

Return the member matching name.

__init__()
classmethod iter(self)

Return members in definition order.

classmethod len(self)

Return the number of members (no aliases)

class retro_hw_render_context_negotiation_interface[source]

Bases: Structure

Corresponds to retro_hw_render_context_negotiation_interface in libretro.h.

>>> from libretro.api.video import retro_hw_render_context_negotiation_interface
>>> iface = retro_hw_render_context_negotiation_interface()
>>> iface.interface_version
0
interface_type

Rendering API this negotiation interface is for.

interface_version

Version of this negotiation interface.

__init__(*args, **kwargs)
classmethod __new__(*args, **kwargs)
retro_hw_render_context_negotiation_interface_type

alias of c_int