MCPcopy Create free account
hub / github.com/RenderKit/embree / ImFormatStringToTempBufferV

Function ImFormatStringToTempBufferV

tutorials/common/imgui/imgui.cpp:1806–1812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1804}
1805
1806void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args)
1807{
1808 ImGuiContext& g = *GImGui;
1809 int buf_len = ImFormatStringV(g.TempBuffer.Data, g.TempBuffer.Size, fmt, args);
1810 *out_buf = g.TempBuffer.Data;
1811 if (out_buf_end) { *out_buf_end = g.TempBuffer.Data + buf_len; }
1812}
1813
1814// CRC32 needs a 1KB lookup table (not cache friendly)
1815// Although the code to generate the table is simple and shorter than the table itself, using a const table allows us to easily:

Callers 4

TextVMethod · 0.85
LabelTextVMethod · 0.85
BulletTextVMethod · 0.85
TreeNodeExVMethod · 0.85

Calls 1

ImFormatStringVFunction · 0.85

Tested by

no test coverage detected