SpiecsEngine
 
Loading...
Searching...
No Matches

◆ to_string() [2/3]

std::string std::to_string ( const GFSDK_Aftermath_ShaderDebugInfoIdentifier & identifier)
inline

Convert GFSDK_Aftermath_ShaderDebugInfoIdentifier to string.

Parameters
[in]identifierGFSDK_Aftermath_ShaderDebugInfoIdentifier.
Returns
Returns converted string.

Definition at line 49 of file NsightAftermathHelpers.h.

50 {
51 return to_hex_string(identifier.id[0]) + "-" + to_hex_string(identifier.id[1]);
52 }
std::string to_hex_string(T n)
Convert T to hex string.