std::vector<UniformInfo> uniforms;
LayoutHash uniform_layout_hash;
std::vector<AttributeInfo> attributes;
+ std::string debug_name;
public:
/// Constructs an empty Program with no shader stages attached.
void bind() const;
static void unbind();
+
+ void set_debug_name(const std::string &);
+private:
+ void set_stage_debug_name(unsigned, Stage);
};
} // namespace GL