#ifndef MSP_GL_SL_FEATURES_H_
#define MSP_GL_SL_FEATURES_H_
-#include <msp/gl/extension.h>
+#include <msp/gl/backend.h>
namespace Msp {
namespace GL {
struct Features
{
- GLApi gl_api;
+ GraphicsApi target_api;
Version glsl_version;
bool arb_enhanced_layouts;
bool arb_explicit_attrib_location;
bool ext_gpu_shader4;
bool ext_texture_array;
unsigned constant_id_range;
+ unsigned uniform_binding_range;
+ unsigned texture_binding_range;
Features();
- static Features from_context();
- static Features all();
+ static Features from_version(const Version &);
+ static Features latest();
};
} // namespace SL