void set_mode(TexGenMode);
void set_plane(const Vector4 &);
- void bind_to(TexCoordComponent) const;
+ void bind_to(TexCoordComponent c) const { bind_to(0, c); }
+ void bind_to(unsigned, TexCoordComponent) const;
- static const TexGen *current(TexCoordComponent);
- static void unbind_from(TexCoordComponent);
+ static const TexGen *current(TexCoordComponent c) { return current(0, c); }
+ static const TexGen *current(unsigned, TexCoordComponent);
+ static void unbind_from(TexCoordComponent c) { unbind_from(0, c); }
+ static void unbind_from(unsigned, TexCoordComponent);
private:
static unsigned coord_index(TexCoordComponent);
};