|
CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
|
#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. | |
Helper structure with parameters to create a render_target.
| int render_target_creation_params::bpp |
Expected colour depth of the render target.
| bool render_target_creation_params::direct_zoom |
Scale each texture when copying if true, otherwise render to intermediate texture and scale.
| bool render_target_creation_params::fullscreen |
Run full-screen.
| int render_target_creation_params::height |
Expected height of the render target.
| int render_target_creation_params::min_height |
Minimum height of the render target.
| int render_target_creation_params::min_width |
Minimum width of the render target.
| bool render_target_creation_params::present_immediate |
Whether to present immediately to the user (else wait for Vsync).
| int render_target_creation_params::width |
Expected width of the render target.