|
| virtual | ~IGraphic3Module ()=default |
| virtual graphic::IWindow3 * | createWindow (int32_t screenWidth, int32_t screenHeight, std::string title)=0 |
| virtual graphic::ICamera * | createCamera (Vector3f position, Vector3f target, float fov)=0 |
| virtual void | deleteCamera (graphic::ICamera *)=0 |
| virtual graphic::IMesh * | createMesh (std::string path)=0 |
| virtual void | deleteMesh (graphic::IMesh *mesh)=0 |
| virtual graphic::IAnimationSet * | createAnimationSet (std::string path)=0 |
| virtual void | deleteAnimationSet (graphic::IAnimationSet *animations)=0 |
| virtual graphic::IModel * | createModel (graphic::IMesh *mesh)=0 |
| virtual void | deleteModel (graphic::IModel *model)=0 |
| virtual | ~IGraphic2Module ()=default |
| virtual void | deleteWindow (graphic::IWindow2 *)=0 |
| virtual graphic::IWindow2 * | window ()=0 |
| | La fenetre ouverte de ce vendor, nullptr s'il n'y en a pas.
|
| virtual graphic::IKeyboard * | createKeyboard (graphic::IWindow *window)=0 |
| virtual void | deleteKeyboard (graphic::IKeyboard *keyboard)=0 |
| virtual graphic::IMouse * | createMouse (graphic::IWindow *window)=0 |
| virtual void | deleteMouse (graphic::IMouse *mouse)=0 |
| virtual graphic::IGamepad * | createGamepad (graphic::IWindow *window)=0 |
| virtual void | deleteGamepad (graphic::IGamepad *gamepad)=0 |
| virtual graphic::ITexture * | createTexture (std::string path)=0 |
| virtual void | deleteTexture (graphic::ITexture *texture)=0 |
| virtual graphic::IFont * | createFont (std::string path)=0 |
| virtual void | deleteFont (graphic::IFont *font)=0 |
| virtual graphic::IPolygon * | createPolygon (std::vector< Vector2f > points)=0 |
| virtual void | deletePolygon (graphic::IPolygon *polygon)=0 |
| virtual graphic::ISprite * | createSprite (graphic::ITexture *texture)=0 |
| virtual void | deleteSprite (graphic::ISprite *sprite)=0 |
| virtual graphic::IText * | createText (std::string text, graphic::IFont *font)=0 |
| virtual void | deleteText (graphic::IText *text)=0 |
| virtual | ~IModule ()=default |
| virtual const char * | type () const =0 |
| | Le contrat qu'il remplit : "graphic2", "audio", "game"...
|
| virtual const char * | name () const =0 |
| | Le fournisseur : "raylib", "sfml", "console"...
|
| virtual const char *const * | claims () const |
| | Les ressources qu'il tient pour lui seul : "opengl"...
|
| void | bind (IModuleManager &manager) |
| | Le manager, pose au chargement. Jamais nul ensuite.
|
| bool | acquire () |
| | Se declarer detenteur.
|
| void | release () |
| | Rendre ce qu'on tenait. A appeler apres l'avoir detruit.
|
| unsigned | uses () const |
| | Combien de detenteurs, a cet instant.
|
| bool | mustClose () const |
| | Sa bibliotheque est condamnee : les detenteurs doivent lacher.
|
| bool | isClosed () const |
| | Plus aucun detenteur.
|
| void | condemn () |
| | Le condamner. Appele par le manager, jamais par un module.
|
| void | reset () |
| | Le rendre a neuf : ni detenteur, ni condamnation.
|
|
| static constexpr const char * | entry = "getGraphic3Module" |
| | Symbol the loader looks up : present = this vendor can draw 3D.
|
| static constexpr const char * | contract = "graphic3" |
| static constexpr const char * | accepts [] = {"graphic3", nullptr} |
| | Rien d'autre ne fait de la 3D : je ne m'accepte que moi.
|
| static constexpr const char * | entry = "getGraphic2Module" |
| | Symbol the loader looks up : present = this vendor can draw 2D.
|
| static constexpr const char * | contract = "graphic2" |
| static constexpr const char * | accepts [] = {"graphic2", "graphic3", nullptr} |
| | Les contrats qui me satisfont, du plus general au plus precis.
|
A vendor's 3D factory. Extends IGraphic2Module : implementing it means implementing all of the 2D too, and the window it returns is an IWindow3, hence usable as an IWindow2.
A vendor without 3D DOES NOT EXPORT this symbol, rather than returning empty objects : the missing symbol is the only way the loader learns the capability is absent.