|
|
@@ -815,7 +815,14 @@ namespace bgfx
|
|
|
uint16_t m_attributes[Attrib::Count];
|
|
|
};
|
|
|
|
|
|
- /// Pack vec4 into vertex stream format.
|
|
|
+ /// Pack vertex attribute into vertex stream format.
|
|
|
+ ///
|
|
|
+ /// @param[in] _input Value to be packed into vertex stream.
|
|
|
+ /// @param[in] _inputNormalized True if input value is already normalized.
|
|
|
+ /// @param[in] _attr Attribute to pack.
|
|
|
+ /// @param[in] _decl Vertex stream declaration.
|
|
|
+ /// @param[in] _data Destination vertex stream where data will be packed.
|
|
|
+ /// @param[in] _index Vertex index that will be modified.
|
|
|
///
|
|
|
/// @attention C99 equivalent is `bgfx_vertex_pack`.
|
|
|
///
|
|
|
@@ -828,7 +835,13 @@ namespace bgfx
|
|
|
, uint32_t _index = 0
|
|
|
);
|
|
|
|
|
|
- /// Unpack vec4 from vertex stream format.
|
|
|
+ /// Unpack vertex attribute from vertex stream format.
|
|
|
+ ///
|
|
|
+ /// @param[out] _output Result of unpacking.
|
|
|
+ /// @param[in] _attr Attribute to unpack.
|
|
|
+ /// @param[in] _decl Vertex stream declaration.
|
|
|
+ /// @param[in] _data Source vertex stream from where data will be unpacked.
|
|
|
+ /// @param[in] _index Vertex index that will be unpacked.
|
|
|
///
|
|
|
/// @attention C99 equivalent is `bgfx_vertex_unpack`.
|
|
|
///
|