From 4edb8bc376109e414e349de616da7545f33e979c Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Wed, 8 Oct 2014 20:18:37 -0700 Subject: [PATCH] Updated docs. --- include/bgfx.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/bgfx.h b/include/bgfx.h index 6f008ad0e..83e2c4398 100644 --- a/include/bgfx.h +++ b/include/bgfx.h @@ -1044,9 +1044,20 @@ namespace bgfx /// 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); + /// 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);