CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
Loading...
Searching...
No Matches
Public Attributes | List of all members
render_target_creation_params Struct Reference

#include <th_gfx_sdl.h>

Public Attributes

int width
 Expected width of the render target.
 
int height
 Expected height of the render target.
 
int bpp
 Expected colour depth of the render target.
 
bool fullscreen
 Run full-screen.
 
bool present_immediate
 
bool direct_zoom
 
int min_width
 Minimum width of the render target.
 
int min_height
 Minimum height of the render target.
 

Detailed Description

Helper structure with parameters to create a render_target.

Member Data Documentation

◆ bpp

int render_target_creation_params::bpp

Expected colour depth of the render target.

◆ direct_zoom

bool render_target_creation_params::direct_zoom

Scale each texture when copying if true, otherwise render to intermediate texture and scale.

◆ fullscreen

bool render_target_creation_params::fullscreen

Run full-screen.

◆ height

int render_target_creation_params::height

Expected height of the render target.

◆ min_height

int render_target_creation_params::min_height

Minimum height of the render target.

◆ min_width

int render_target_creation_params::min_width

Minimum width of the render target.

◆ present_immediate

bool render_target_creation_params::present_immediate

Whether to present immediately to the user (else wait for Vsync).

◆ width

int render_target_creation_params::width

Expected width of the render target.


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