1 #ifndef MSP_GL_DEVICEINFO_H_
2 #define MSP_GL_DEVICEINFO_H_
4 #include "glsl/features.h"
10 Contains information about various limits imposed by the graphics device.
14 unsigned max_vertex_attributes;
15 unsigned max_texture_bindings;
16 unsigned max_uniform_bindings;
17 unsigned max_clip_planes;
19 unsigned uniform_buffer_alignment;
20 unsigned max_color_attachments;
26 Contains information about a graphics device.
31 SL::Features glsl_features;
35 /** Returns information for the device currently in use. */
36 static const DeviceInfo &get_global();