44 Sprite(
ObjectManager *o,
const std::string &name,
const std::string &textureFileName, GLuint shaderMaxLights,
bool variableNumberOfLights,
bool flipT,
PropertiesPtr properties =
nullptr);
54 void createGeometry(
bool flipT);
A 3d model that can be rendered to the screen.
Definition: Model.h:19
std::shared_ptr< Shader > ShaderPtr
Definition: Shader.h:211
std::shared_ptr< Properties > PropertiesPtr
Definition: Properties.h:179
Sprite()
Constructor.
Definition: Sprite.h:16
A 2d plane that can be rendered to the screen.
Definition: Sprite.h:9
virtual ~Sprite()
Virtual destructor.
Definition: Sprite.h:48
virtual void deleteModelGeometry()
Deletes all geometry of the model.
Definition: Model.h:168
This class manages all objects in a project and makes sure no object is created twice.
Definition: ObjectManager.h:32
std::shared_ptr< Material > MaterialPtr
Definition: Material.h:135
std::shared_ptr< Sprite > SpritePtr
Definition: Sprite.h:58