mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
38 lines
1.6 KiB
C#
38 lines
1.6 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#L3810">imgui_internal.h:3810</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L3769">imgui.cpp:3769</see>
|
|
/// <br/>
|
|
/// <c>void RenderText(ImVec2 pos, const char* text, const char* text_end = NULL, bool hide_text_after_hash = true)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Render helpers
|
|
/// AVOID USING OUTSIDE OF IMGUI.CPP! NOT FOR PUBLIC CONSUMPTION. THOSE FUNCTIONS ARE A MESS. THEIR SIGNATURE AND BEHAVIOR WILL CHANGE, THEY NEED TO BE REFACTORED INTO SOMETHING DECENT.
|
|
/// NB: All position are in absolute pixels coordinates (we are never using window coordinates internally)
|
|
/// </code>
|
|
/// <code>
|
|
/// Internal ImGui functions to render text
|
|
/// RenderText***() functions calls ImDrawList::AddText() calls ImBitmapFont::RenderText()
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void RenderText_internal(
|
|
float2 pos,
|
|
byte* text,
|
|
byte* text_end,
|
|
Bool8 hide_text_after_hash
|
|
);
|
|
}
|
|
}
|