#[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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.