- add_keyword<Graphic>("graphic");
- add_keyword<GL::Texture2D>("texture");
-
- add_creator(&Resources::create_font);
- add_creator(&Resources::create_texture);
+ add_type<Graphic>().keyword("graphic");
+ add_type<GL::Texture2D>().keyword("texture").creator(&Resources::create_texture);
+ add_type<GL::Font>().creator(&Resources::create_font);