Information on the capabilities of a render driver or context.
Defined in [SDL_render.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_render.h), but apps should _only_ `#include "SDL.h"`!
typedef struct SDL_RendererInfo
{const char *name; /**< The name of the renderer */
/**< Supported ::SDL_RendererFlags */
Uint32 flags; /**< The number of available texture formats */
Uint32 num_texture_formats; 16]; /**< The available texture formats */
Uint32 texture_formats[int max_texture_width; /**< The maximum texture width */
int max_texture_height; /**< The maximum texture height */
} SDL_RendererInfo;
const char* |
name |
the name of the renderer |
Uint32 |
flags |
a mask of supported renderer flags; see Remarks for details |
Uint32 |
num_texture_formats |
the number of available texture formats |
Uint32[16] |
texture_formats |
the available texture formats; see Remarks for details |
int |
max_texture_width |
the maximum texture width |
int |
max_texture_height |
the maximum texture height |
CategoryAPI, CategoryAPIStruct, CategoryStruct, CategoryRender