MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ live_format_key()

void MayaFlux::internal::live_format_key ( char *  buf,
std::string_view  name,
uint32_t  count 
)
inlinenoexcept

Formats a live arena key as "TypeName_N" into buf.

Parameters
bufDestination buffer of at least LIVE_ARENA_KEY_MAX bytes.
nameUnqualified type name, typically from live_type_name<T>().
countIndex appended after the name.

Definition at line 238 of file LiveArena.hpp.

239 {
240 std::snprintf(buf, LIVE_ARENA_KEY_MAX, "%.*s_%u",
241 static_cast<int>(name.size()), name.data(), count);
242 }
std::string name
Definition VKDevice.cpp:123
size_t count

References count, LIVE_ARENA_KEY_MAX, and name.

Referenced by MayaFlux::expose_live_indexed().

+ Here is the caller graph for this function: