mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
51 lines
2 KiB
C#
51 lines
2 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
public static partial class ImGuiPayloadExtensions
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2781">imgui.h:2781</see>
|
|
/// <br/><c>void Clear()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe void Clear(this ImGuiPayloadPtr target) => PInvoke.ImGuiPayload_Clear(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2782">imgui.h:2782</see>
|
|
/// <br/><c>bool IsDataType(const char* type) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe bool IsDataType(this ImGuiPayloadPtr target, ImString type)
|
|
{
|
|
fixed (byte* type_fixed = type)
|
|
{
|
|
return PInvoke.ImGuiPayload_IsDataType(target, type_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2783">imgui.h:2783</see>
|
|
/// <br/><c>bool IsPreview() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe bool IsPreview(this ImGuiPayloadPtr target) => PInvoke.ImGuiPayload_IsPreview(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2784">imgui.h:2784</see>
|
|
/// <br/><c>bool IsDelivery() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe bool IsDelivery(this ImGuiPayloadPtr target) => PInvoke.ImGuiPayload_IsDelivery(target);
|
|
}
|
|
}
|