mini_arcade_native_backend.config

Configuration and utility functions for the mini arcade native backend.

Classes

NativeBackendSettings

Settings for configuring the native backend.

Module Contents

class mini_arcade_native_backend.config.NativeBackendSettings

Settings for configuring the native backend.

Variables:
  • core – Core backend settings.

  • api – The rendering API to use.

core: mini_arcade_core.backend.config.BackendSettings
api: mini_arcade_native_backend._native.RenderAPI
to_dict() dict

Convert the NativeBackendSettings to a dictionary.

Returns:

Dictionary representation of the settings.

Return type:

dict

classmethod from_dict(data: dict) NativeBackendSettings

Create a NativeBackendSettings instance from a dictionary.

Parameters:

data (dict) – Dictionary containing the settings.

Returns:

NativeBackendSettings instance.

Return type:

NativeBackendSettings