1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 05:52:11 +01:00

[hud] Added some missing documentation

This commit is contained in:
Philip Rebohle 2018-06-28 01:18:16 +02:00
parent 832b3a9dba
commit 04bc13929f
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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<DxvkContext>& ctx,
VkExtent2D surfaceSize);