ConvertPTSize: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<pageclass subcaption="C++ Function"></pageclass> | <pageclass subcaption="C++ Function"></pageclass> | ||
This C++ namespace function is a helper function for | This C++ namespace function is a helper function for [[CAdditionalVertexStreamManager]]. | ||
It converts size of PT stream to sizeof of N stream. | It converts size of PT stream to sizeof of N stream. | ||
Line 21: | Line 22: | ||
==See Also== | ==See Also== | ||
[[CAdditionalVertexStreamManager]] | *[[CAdditionalVertexStreamManager]] | ||
[[Category:Development]] |
Latest revision as of 10:49, 13 July 2024
This C++ namespace function is a helper function for CAdditionalVertexStreamManager.
It converts size of PT stream to sizeof of N stream.
It can be found in Client/Client Core/Sources/CAdditionalVertexStreamManager.cpp in Visual Studio.
Required Arguments
- SizePT: To be defined.
Returns
Returns an uint representing --.
Code
uint ConvertPTSize ( uint SizePT ) { return SizePT * 12 / 20; }