mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Updated docs.
This commit is contained in:
parent
5ea84e8274
commit
4edb8bc376
1 changed files with 11 additions and 0 deletions
|
@ -1044,9 +1044,20 @@ namespace bgfx
|
||||||
///
|
///
|
||||||
void setTransform(uint32_t _cache, uint16_t _num = 1);
|
void setTransform(uint32_t _cache, uint16_t _num = 1);
|
||||||
|
|
||||||
|
/// Reserve `_num` matrices in internal matrix cache. Pointer returned
|
||||||
|
/// can be modifed until `bgfx::frame` is called.
|
||||||
|
///
|
||||||
|
/// @param _transform Pointer to `Transform` structure.
|
||||||
|
/// @param _num Number of matrices.
|
||||||
///
|
///
|
||||||
void allocTransform(Transform* _transform, uint16_t _num);
|
void allocTransform(Transform* _transform, uint16_t _num);
|
||||||
|
|
||||||
|
/// Set model matrix from `Transform` structure.
|
||||||
|
///
|
||||||
|
/// @param _transform Pointer to `Transform` structure returned by
|
||||||
|
// `bgfx::allocTransform`.
|
||||||
|
/// @param _first First matrix.
|
||||||
|
/// @param _num Number of matrices.
|
||||||
///
|
///
|
||||||
void setTransform(const Transform* _transform, uint32_t _first, uint16_t _num);
|
void setTransform(const Transform* _transform, uint32_t _first, uint16_t _num);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue