brutal/Brutal.ImGui/Generated-Internal/PInvoke/TableBeginInitMemory_internal.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

37 lines
1.8 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3742">imgui_internal.h:3742</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L655">imgui_tables.cpp:655</see>
/// <br/><c>void TableBeginInitMemory(ImGuiTable* table, int columns_count)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tables: Internals
/// </para>
/// <code>
/// For reference, the average total _allocation count_ for a table is:
/// + 0 (for ImGuiTable instance, we are pooling allocations in g.Tables[])
/// + 1 (for table-&gt;RawData allocated below)
/// + 1 (for table-&gt;ColumnsNames, if names are used)
/// Shared allocations for the maximum number of simultaneously nested tables (generally a very small number)
/// + 1 (for table-&gt;Splitter._Channels)
/// + 2 * active_channels_count (for ImDrawCmd and ImDrawIdx buffers inside channels)
/// Where active_channels_count is variable but often == columns_count or == columns_count + 1, see TableSetupDrawChannels() for details.
/// Unused channels don't perform their +2 allocations.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void TableBeginInitMemory_internal(ImGuiTable* table, int columns_count);
}
}