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_clip_planes = 6;
15 unsigned max_vertex_attributes = 16;
16 unsigned max_texture_bindings = 16;
17 unsigned max_color_attachments = 8;
18 unsigned max_samples = 4;
19 unsigned max_uniform_bindings = 24;
20 unsigned uniform_buffer_alignment = 256;
21 float max_anisotropy = 1.0f;
27 Contains information about a graphics device.
32 SL::Features glsl_features;
36 /** Returns information for the device currently in use. */
37 static const DeviceInfo &get_global();