41 void Update(
float deltaTime)
override;
Represents a 2D camera with position, rotation, and zoom control.
Drawable2D(RenderResourceContext renderContext)
Constructs the Drawable2D with a resource context.
void SetMaterialName(const std::string &materialName)
Sets the material to use (by name).
void SetMeshName(const std::string &meshName)
Sets the mesh to use (by name).
Quad2D(const Quad2D &rhs)=delete
<
Quad2D & operator=(const Quad2D &rhs)=delete
void Initialize() override
Initializes render resource pointers (material, mesh, etc.). Must be called after setting material an...
void Update(float deltaTime) override
Updates logic (animation, movement, etc.) for this drawable.
Quad2D(RenderResourceContext renderContext)
Constructs the Quad2D with a render context.
void Draw(const Camera2D &camera) override
Submits this quad to the renderer for drawing.
Aggregates pointers to global rendering resource managers.