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,
}
Expand description
A structure that contains information on the capabilities of a render driver or the current render context.
Fields
name: &'static str
flags: u32
texture_formats: Vec<PixelFormatEnum>
max_texture_width: u32
max_texture_height: u32
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RendererInfo
impl Send for RendererInfo
impl Sync for RendererInfo
impl Unpin for RendererInfo
impl UnwindSafe for RendererInfo
Blanket Implementations
Mutably borrows from an owned value. Read more