Struct sdl2::render::RendererInfo [] [src]

pub struct RendererInfo {
    pub name: &'static str,
    pub flags: u32,
    pub texture_formats: Vec<PixelFormatEnum>,
    pub max_texture_width: u32,
    pub max_texture_height: u32,
}

A structure that contains information on the capabilities of a render driver or the current render context.

Fields

Methods

impl RendererInfo
[src]

Trait Implementations

impl Clone for RendererInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for RendererInfo
[src]

impl PartialEq for RendererInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for RendererInfo
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for RendererInfo
[src]

Formats the value using the given formatter.