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

27 lines
1.1 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public static partial class ImDrawCmdExtensions
{
/// <summary>
/// <para>
/// == (TexRef._TexData ? TexRef._TexData-&gt;TexID : TexRef._TexID
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3251">imgui.h:3251</see>
/// <br/><c>inline ImTextureID GetTexID() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Since 1.83: returns ImTextureID associated with this draw call. Warning: DO NOT assume this is always same as 'TextureId' (we will change this function for an upcoming feature)
/// Since 1.92: removed ImDrawCmd::TextureId field, the getter function must be used!
/// </code>
/// </remarks>
public static unsafe ImTextureID GetTexID(this ImDrawCmdPtr target) => PInvoke.ImDrawCmd_GetTexID(target);
}
}