docs: add missing args description

This commit is contained in:
Mira Grudzinska 2024-06-24 11:30:22 +02:00 committed by Hermet Park
parent f281b9c342
commit f202137acd

View file

@ -1798,7 +1798,9 @@ public:
* @brief Sets the drawing target for the rasterization. * @brief Sets the drawing target for the rasterization.
* *
* @param[in] instance WGPUInstance, context for all other wgpu objects. * @param[in] instance WGPUInstance, context for all other wgpu objects.
* @param[in] surace WGPUSurface, handle to a presentable surface. * @param[in] surface WGPUSurface, handle to a presentable surface.
* @param[in] w The width of the surface.
* @param[in] h The height of the surface.
* *
* @retval Result::InsufficientCondition if the canvas is performing rendering. Please ensure the canvas is synced. * @retval Result::InsufficientCondition if the canvas is performing rendering. Please ensure the canvas is synced.
* @retval Result::NonSupport In case the wg engine is not supported. * @retval Result::NonSupport In case the wg engine is not supported.