[go: up one dir, main page]

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

pub struct RendererInfo {
    pub name: String,
    pub flags: u32,
    pub texture_formats: Vec<PixelFormatEnum>,
    pub max_texture_width: i32,
    pub max_texture_height: i32,
}

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

Fields

name: String flags: u32 texture_formats: Vec<PixelFormatEnum> max_texture_width: i32 max_texture_height: i32

Methods

impl RendererInfo
[src]

unsafe fn from_ll(info: &SDL_RendererInfo) -> RendererInfo

Trait Implementations

impl PartialEq for RendererInfo
[src]

fn eq(&self, __arg_0: &RendererInfo) -> bool

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

fn ne(&self, __arg_0: &RendererInfo) -> bool

This method tests for !=.