-
- /** Equivalent to apply(true). For compatibility with the Bindable
- interface. */
- void bind() const { apply(); }
-
- /** Applies component arrays to the GL. If legacy is true, they are applied
- as is. If legacy is false, any legacy attributes are converted to generic
- attributes. */
- void apply(bool legacy = true) const;
-
-private:
- static void apply_arrays(const std::vector<Array> *, const std::vector<Array> *, const float *, unsigned, bool);
-public:
- static void unbind();