1 #ifndef UGDK_GRAPHIC_PRIMITIVESETUP_H_
2 #define UGDK_GRAPHIC_PRIMITIVESETUP_H_
18 #include <glm/glm.hpp>
23 namespace VertexDataManipulation {
32 namespace PrimitiveSetup {
56 #endif // UGDK_GRAPHIC_PRIMITIVESETUP_H_
Definition: textureatlas.h:31
Definition: indexabletable.h:15
Definition: vector2D.h:18
static void Prepare(Primitive &, const graphic::GLTexture *, const math::Vector2D &size)
Definition: primitivesetup.h:34
static const VertexDataSpecification vertexdata_specification
Definition: primitivesetup.h:35
static std::shared_ptr< action::SpriteAnimationPlayer > CreateSpriteAnimationPlayer(Primitive &, const action::SpriteAnimationTable *table)
Definition: animation.h:11
Definition: vertexdata.h:20
void SetToAbsoluteRectangleWithAtlasPiece(VertexData &data, const glm::vec4 &top_left, const glm::vec4 &bottom_right, const TextureAtlas::BoundPiece &piece)
static void Render(const Primitive &, Canvas &canvas)
Definition: vertexdata.h:57
static void Render(const Primitive &, Canvas &canvas)
void SetToRectangleAtOrigin(VertexData &data, const math::Vector2D &size)
static const VertexDataSpecification vertexdata_specification
Definition: primitivesetup.h:44
Definition: textureatlas.h:20
Definition: primitivesetup.h:43
void ApplyPositionOffset(VertexData &data, const math::Vector2D &offset)
Definition: spriteanimationframe.h:17
void SetUsingSpriteFrameInformation(VertexData &data, const math::Vector2D &position, const action::SpriteAnimationFrame &, const TextureAtlas::BoundPiece &)
static void Prepare(Primitive &, const TextureAtlas *spritesheet)
Definition: primitive.h:14