ReShade
A generic post-processing injector for games and video software.
Public Attributes | List of all members
reshade::api::swapchain_desc Struct Reference

Describes a swap chain and its back buffer resources. More...

#include <reshade_api_device.hpp>

Public Attributes

resource_desc back_buffer
 Description of the back buffer resources. More...
 
uint32_t back_buffer_count
 Number of back buffer resources in the swap chain. More...
 
uint32_t present_mode
 Defines how the back buffers should be swapped when a present occurs. More...
 
uint32_t present_flags
 Swap chain creation flags. More...
 
bool fullscreen_state
 Initial fullscreen state. More...
 
float fullscreen_refresh_rate
 Refresh rate of the display in fullscreen mode, in Hertz. Set to zero to use the default. More...
 

Detailed Description

Describes a swap chain and its back buffer resources.

Member Data Documentation

◆ back_buffer

resource_desc reshade::api::swapchain_desc::back_buffer

Description of the back buffer resources.

◆ back_buffer_count

uint32_t reshade::api::swapchain_desc::back_buffer_count

Number of back buffer resources in the swap chain.

◆ fullscreen_refresh_rate

float reshade::api::swapchain_desc::fullscreen_refresh_rate

Refresh rate of the display in fullscreen mode, in Hertz. Set to zero to use the default.

◆ fullscreen_state

bool reshade::api::swapchain_desc::fullscreen_state

Initial fullscreen state.

◆ present_flags

uint32_t reshade::api::swapchain_desc::present_flags

Swap chain creation flags.

Depending on the graphics API this can be a 'D3DPRESENT', 'DXGI_PRESENT', 'PFD_*' or 'VkSwapchainCreateFlagsKHR' value.

◆ present_mode

uint32_t reshade::api::swapchain_desc::present_mode

Defines how the back buffers should be swapped when a present occurs.

Depending on the graphics API this can be a 'D3DSWAPEFFECT', 'DXGI_SWAP_EFFECT', 'WGL_SWAP_METHOD_ARB' or 'VkPresentModeKHR' value.


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