![]() |
nomlib
|
Container class for the current renderer driver capabilities. More...
#include <RendererInfo.hpp>
Public Types | |
| typedef RendererInfo * | RawPtr |
| Raw pointer type. | |
Public Member Functions | |
| RendererInfo (void) | |
| Default constructor. | |
| ~RendererInfo (void) | |
| Destructor. | |
| const std::string & | name (void) const |
| Query driver's name. | |
| uint32 | optimal_texture_format (void) const |
| Obtain the most optimal texture format available. | |
| bool | target_texture (void) const |
| Query support for setting a nom::Texture as a nom::Renderer target. | |
| bool | accelerated (void) const |
| Query driver's support of hardware video acceleration. | |
| 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. | |
Public Attributes | |
| std::string | name_ |
| Renderer designation. | |
| uint32 | flags_ |
| Mask of supported renderer flags. | |
| std::vector< uint32 > | texture_formats |
| int | texture_width_ |
| Maximum texture width (in pixels) supported. | |
| int | texture_height_ |
| Maximum texture height (in pixels) supported. | |
Container class for the current renderer driver capabilities.
Definition at line 42 of file RendererInfo.hpp.
| typedef RendererInfo* nom::RendererInfo::RawPtr |
Raw pointer type.
Definition at line 46 of file RendererInfo.hpp.
| uint32 nom::RendererInfo::optimal_texture_format | ( | void | ) | const |
Obtain the most optimal texture format available.
| uint32 nom::RendererInfo::flags_ |
Mask of supported renderer flags.
Definition at line 82 of file RendererInfo.hpp.
| std::string nom::RendererInfo::name_ |
Renderer designation.
Definition at line 79 of file RendererInfo.hpp.
| std::vector<uint32> nom::RendererInfo::texture_formats |
Available texture (pixel) formats
Definition at line 87 of file RendererInfo.hpp.
| int nom::RendererInfo::texture_height_ |
Maximum texture height (in pixels) supported.
Definition at line 93 of file RendererInfo.hpp.
| int nom::RendererInfo::texture_width_ |
Maximum texture width (in pixels) supported.
Definition at line 90 of file RendererInfo.hpp.