libretro.api.video.negotiate¶
Hardware rendering context negotiation types.
Corresponds to retro_hw_render_context_negotiation_interface
in libretro.h.
Classes
Type of context negotiation interface. |
|
Corresponds to |
- class ContextNegotiationInterfaceType[source]¶
Bases:
IntEnumType of context negotiation interface.
Corresponds to the
RETRO_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE_*constants inlibretro.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:
StructureCorresponds to
retro_hw_render_context_negotiation_interfaceinlibretro.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)¶