[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
1 changed files with 14 additions and 1 deletions

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);
@ -73,7 +86,7 @@ namespace dxvk::hud {
void renderHudElements(
const Rc<DxvkContext>& ctx);
void updateUniformBuffer(
const Rc<DxvkContext>& ctx,
const HudUniformData& data);