mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Updated doxygen comments.
This commit is contained in:
parent
e3a31a2efc
commit
0b60a52286
1 changed files with 14 additions and 0 deletions
|
@ -593,6 +593,14 @@ namespace bgfx
|
|||
void setViewRectMask(uint32_t _viewMask, uint16_t _x, uint16_t _y, uint16_t _width, uint16_t _height);
|
||||
|
||||
/// Set view clear flags.
|
||||
///
|
||||
/// @param _id view id.
|
||||
/// @param _flags clear flags.
|
||||
/// See: BGFX_CLEAR_*
|
||||
///
|
||||
/// @param _rgba color clear value.
|
||||
/// @param _depth depth clear value.
|
||||
/// @param _stencil stencil clear value.
|
||||
void setViewClear(uint8_t _id, uint8_t _flags, uint32_t _rgba = 0x000000ff, float _depth = 1.0f, uint8_t _stencil = 0);
|
||||
|
||||
///
|
||||
|
@ -685,9 +693,15 @@ namespace bgfx
|
|||
void setTexture(uint8_t _stage, UniformHandle _sampler, RenderTargetHandle _handle, bool _depth = false);
|
||||
|
||||
/// Submit primitive for rendering into single view.
|
||||
///
|
||||
/// @param _id View id.
|
||||
/// @param _depth depth for sorting.
|
||||
void submit(uint8_t _id, int32_t _depth = 0);
|
||||
|
||||
/// Submit primitive for rendering into multiple views.
|
||||
///
|
||||
/// @param _viewMask mask to which views to submit draw primitive calls.
|
||||
/// @param _depth depth for sorting.
|
||||
void submitMask(uint32_t _viewMask, int32_t _depth = 0);
|
||||
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue