Updated docs.

This commit is contained in:
Branimir Karadžić 2018-08-10 20:35:25 +03:00
parent 8d26c0f904
commit 14f9b41f58
1 changed files with 10 additions and 0 deletions

View File

@ -556,6 +556,13 @@ namespace bgfx
/// Called when a video capture begins.
///
/// @param[in] _width Image width.
/// @param[in] _height Image height.
/// @param[in] _pitch Number of bytes to skip between the start of
/// each horizontal line of the image.
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
/// @param[in] _yflip If true, image origin is bottom left.
///
/// @attention C99 equivalent is `bgfx_callback_vtbl.capture_begin`.
///
virtual void captureBegin(
@ -568,6 +575,9 @@ namespace bgfx
/// Called when a video capture ends.
///
/// @param[in] _data Image data.
/// @param[in] _size Image size.
///
/// @attention C99 equivalent is `bgfx_callback_vtbl.capture_end`.
///
virtual void captureEnd() = 0;