ark::gui::HudImageDrawable

Defined in header “ark/gui/magnum/hud_image_drawable.hh”.


Drawable for 2D HUD Image. Coordinates are specified in normalized screen coordinates.

Methods

  • HudImageDrawable(const Image2D & image, ShaderManager & shader_manager)

  • ~HudImageDrawable()

  • HudAnchor get_anchor()
    Return the anchor for this drawable.

  • Eigen::Vector2f size()
    Return the size of the element in pixels.

  • void draw(const ViewportParameters & viewport, const Eigen::Matrix4f & projection)