diff --git a/src/dxvk/hud/dxvk_hud.h b/src/dxvk/hud/dxvk_hud.h index cb2609454..4feccca1b 100644 --- a/src/dxvk/hud/dxvk_hud.h +++ b/src/dxvk/hud/dxvk_hud.h @@ -36,8 +36,21 @@ namespace dxvk::hud { ~Hud(); + /** + * \brief Update HUD + * + * Updates the data to display. + * Should be called once per frame. + */ void update(); + /** + * \brief Render HUD + * + * Renders the HUD to the given context. + * \param [in] ctx Device context + * \param [in] surfaceSize Image size, in pixels + */ void render( const Rc& ctx, VkExtent2D surfaceSize); @@ -73,7 +86,7 @@ namespace dxvk::hud { void renderHudElements( const Rc& ctx); - + void updateUniformBuffer( const Rc& ctx, const HudUniformData& data);