30 Scale(
const std::shared_ptr<Renderer>& renderer,
const std::shared_ptr<Camera>&
camera,
const std::shared_ptr<Background>&
background,
const std::shared_ptr<Vector2i>& windowSize,
const std::string& fontFile);
36 std::shared_ptr<Renderer> m_renderer;
37 std::shared_ptr<Camera> m_camera;
38 std::shared_ptr<Background> m_background;
39 std::shared_ptr<Vector2i> m_windowSize;
40 std::string m_fontFile;
41 float m_currentWidth = -1;
The Pass class represents a rendering pass within a graphics pipeline.
Definition pass.h:34
std::shared_ptr< Background > background
This member holds a shared pointer to a Background object which defines the scene background.
Definition pass.h:38
std::shared_ptr< Camera > camera
This member holds a shared pointer to a Camera object which the current pass uses for rendering.
Definition pass.h:39
Scale(const std::shared_ptr< Renderer > &renderer, const std::shared_ptr< Camera > &camera, const std::shared_ptr< Background > &background, const std::shared_ptr< Vector2i > &windowSize, const std::string &fontFile)
std::function< std::string(float)> toString
Definition scale.h:27