Use LibraryImport for custom ImGuiNative functinos

This commit is contained in:
Soreepeong 2025-08-02 20:35:05 +09:00
parent 1a15600a8f
commit 334a02e69a
4 changed files with 72 additions and 41 deletions

View file

@ -1,6 +1,6 @@
namespace Dalamud.Bindings.ImGui;
public enum ImDrawCallbackEnum
public enum ImDrawCallbackEnum : long
{
Empty,
@ -11,5 +11,5 @@ public enum ImDrawCallbackEnum
/// state, and you want it to be restored. It is not done by default because they are many perfectly useful way of
/// altering render state for imgui contents (e.g. changing shader/blending settings before an Image call).
/// </summary>
ResetRenderState = -1,
ResetRenderState = ImGui.ImDrawCallbackResetRenderState,
}