Sunshine master
Self-hosted game stream host for Moonlight.
nlohmann::adl_serializer< opengl_swapchain_t > Struct Reference

JSON serializer specialization for OpenGL swapchain settings. More...

Static Public Member Functions

static void from_json (const json &j, opengl_swapchain_t &opengl_swapchain)
 Deserialize the undo-data object from JSON.
 
static void to_json (json &j, const opengl_swapchain_t &opengl_swapchain)
 Serialize the undo-data object to JSON.
 

Detailed Description

JSON serializer specialization for OpenGL swapchain settings.

Member Function Documentation

◆ from_json()

static void nlohmann::adl_serializer< opengl_swapchain_t >::from_json ( const json & j,
opengl_swapchain_t & opengl_swapchain )
inlinestatic

Deserialize the undo-data object from JSON.

Parameters
jJSON value being read from or written to.
opengl_swapchainOpengl swapchain.

◆ to_json()

static void nlohmann::adl_serializer< opengl_swapchain_t >::to_json ( json & j,
const opengl_swapchain_t & opengl_swapchain )
inlinestatic

Serialize the undo-data object to JSON.

Parameters
jJSON value being read from or written to.
opengl_swapchainOpengl swapchain.

The documentation for this struct was generated from the following file: