Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDebugName
Description
Converts the FDebugName to a string buffer, avoiding dynamic allocations. Truncates the name if it does not fit in the specified output buffer. Use a buffer size of at least FDebugName::StringBufferSize to avoid truncation.
Returns the length of the (possibly truncated) string, excluding the null terminator.
| Name | ToStringTruncate |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIDefinitions.h |
| Include Path | #include "RHIDefinitions.h" |
template<uint32 N>
uint32 ToStringTruncate
(
TCHAR(&) Out
) const