|
rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
|
Renderer driver information functions. More...
Functions | |
| unsigned int | count () |
| Query the amount of available rendering drivers. More... | |
| Info | info (const unsigned int i) |
Query the driver info for the ith rendering driver. More... | |
Renderer driver information functions.
| unsigned int rolmodl::ren::driver::count | ( | ) |
Query the amount of available rendering drivers.
| rolmodl::sdlexception | SDL reported an error code. |
Definition at line 15 of file Ren.cpp.
References rolmodl::detail::throwOnErr().
Referenced by info().
| Info rolmodl::ren::driver::info | ( | const unsigned int | i | ) |
Query the driver info for the ith rendering driver.
| std::out_of_range | Driver index is out of range. |
Definition at line 21 of file Ren.cpp.
References count(), rolmodl::ren::Info::name, rolmodl::detail::throwOnErr(), and rolmodl::ren::Flags::unsafeFromRaw().
1.8.16