mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-23 16:18:34 -05:00
Document bgfx::touch.
This commit is contained in:
parent
0e301ab49d
commit
97aacdcdcf
1 changed files with 8 additions and 1 deletions
|
@ -2361,7 +2361,14 @@ namespace bgfx
|
||||||
, uint32_t _flags = UINT32_MAX
|
, uint32_t _flags = UINT32_MAX
|
||||||
);
|
);
|
||||||
|
|
||||||
/// Touch view.
|
/// Submit an empty primitive for rendering. Uniforms and draw state
|
||||||
|
/// will be applied but no geometry will be submitted.
|
||||||
|
///
|
||||||
|
/// These empty draw calls will sort before ordinary draw calls.
|
||||||
|
///
|
||||||
|
/// @param[in] _id View id.
|
||||||
|
/// @returns Number of draw calls.
|
||||||
|
///
|
||||||
uint32_t touch(uint8_t _id);
|
uint32_t touch(uint8_t _id);
|
||||||
|
|
||||||
/// Submit primitive for rendering.
|
/// Submit primitive for rendering.
|
||||||
|
|
Loading…
Reference in a new issue