X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fdeviceinfo.h;h=e121a8cac2c7b65d74af87d085f262ce4a42791e;hb=b1862c511570cb82155cc8c0628e1e903388fc10;hp=8550d85ff75f35061e5c5c8c7f7dbe371d2c24b2;hpb=8e553af57b712051f47293c971671f4f6a939be2;p=libs%2Fgl.git diff --git a/source/core/deviceinfo.h b/source/core/deviceinfo.h index 8550d85f..e121a8ca 100644 --- a/source/core/deviceinfo.h +++ b/source/core/deviceinfo.h @@ -6,6 +6,9 @@ namespace Msp { namespace GL { +/** +Contains information about various limits imposed by the graphics device. +*/ struct Limits { unsigned max_vertex_attributes; @@ -19,6 +22,9 @@ struct Limits Limits(); }; +/** +Contains information about a graphics device. +*/ struct DeviceInfo { Limits limits; @@ -26,6 +32,7 @@ struct DeviceInfo DeviceInfo(); + /** Returns information for the device currently in use. */ static const DeviceInfo &get_global(); };