Struct sdl2_sys::SDL_RendererInfo [−][src]
#[repr(C)]pub struct SDL_RendererInfo {
pub name: *const c_char,
pub flags: Uint32,
pub num_texture_formats: Uint32,
pub texture_formats: [Uint32; 16],
pub max_texture_width: c_int,
pub max_texture_height: c_int,
}
Expand description
\brief Information on the capabilities of a render driver or context.
Fields
name: *const c_char
< The name of the renderer
flags: Uint32
< Supported ::SDL_RendererFlags
num_texture_formats: Uint32
< The number of available texture formats
texture_formats: [Uint32; 16]
< The available texture formats
max_texture_width: c_int
< The maximum texture width
max_texture_height: c_int
< The maximum texture height