mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05:00
Updated docs.
This commit is contained in:
parent
3601c74e92
commit
5672a5dbd7
1 changed files with 8 additions and 1 deletions
|
@ -487,7 +487,14 @@ namespace bgfx
|
||||||
/// Unpack vec4 from vertex stream format.
|
/// Unpack vec4 from vertex stream format.
|
||||||
void vertexUnpack(float _output[4], Attrib::Enum _attr, const VertexDecl& _decl, const void* _data, uint32_t _index = 0);
|
void vertexUnpack(float _output[4], Attrib::Enum _attr, const VertexDecl& _decl, const void* _data, uint32_t _index = 0);
|
||||||
|
|
||||||
/// Convert from one vertex stream format to another.
|
/// Converts vertex stream data from one vertex stream format to another.
|
||||||
|
///
|
||||||
|
/// @param _destDecl Destination vertex stream declaration.
|
||||||
|
/// @param _destData Destination vertex stream.
|
||||||
|
/// @param _srcDecl Source vertex stream declaration.
|
||||||
|
/// @param _srcData Source vertex stream data.
|
||||||
|
/// @param _num Number of vertices to convert from source to destination.
|
||||||
|
///
|
||||||
void vertexConvert(const VertexDecl& _destDecl, void* _destData, const VertexDecl& _srcDecl, const void* _srcData, uint32_t _num = 1);
|
void vertexConvert(const VertexDecl& _destDecl, void* _destData, const VertexDecl& _srcDecl, const void* _srcData, uint32_t _num = 1);
|
||||||
|
|
||||||
/// Returns renderer backend API type.
|
/// Returns renderer backend API type.
|
||||||
|
|
Loading…
Reference in a new issue