29#ifndef NOMLIB_SDL2_RENDERER_INFO_HPP
30#define NOMLIB_SDL2_RENDERER_INFO_HPP
36#include "nomlib/config.hpp"
37#include "nomlib/system/SDL_helpers.hpp"
55 const std::string&
name(
void )
const;
97std::ostream& operator << ( std::ostream& os,
const RendererInfo& info );
Container class for the current renderer driver capabilities.
std::string name_
Renderer designation.
const std::string & name(void) const
Query driver's name.
uint32 optimal_texture_format(void) const
Obtain the most optimal texture format available.
int texture_width_
Maximum texture width (in pixels) supported.
bool target_texture(void) const
Query support for setting a nom::Texture as a nom::Renderer target.
uint32 flags_
Mask of supported renderer flags.
std::vector< uint32 > texture_formats
~RendererInfo(void)
Destructor.
RendererInfo(void)
Default constructor.
bool accelerated(void) const
Query driver's support of hardware video acceleration.
RendererInfo * RawPtr
Raw pointer type.
int texture_height_
Maximum texture height (in pixels) supported.
bool vsync(void) const
Query driver's support of VSYNC.
int texture_width(void) const
Get the maximum texture width supported by the driver.
int texture_height(void) const
Get the maximum texture height supported by the driver.