muffin v7.5.5

This commit is contained in:
alydev 2026-08-17 20:25:32 +10:00
parent a8f2c1df37
commit 6266f9e6b7
110 changed files with 14907 additions and 6073 deletions

View file

@ -0,0 +1,20 @@
using System.Numerics;
using System.Runtime.CompilerServices;
using Dalamud.Bindings.ImGui;
namespace Auspex.Rendering.Direct3D;
internal static class ColorConversions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static uint ToUint(this Vector4 color)
{
return ImGui.ColorConvertFloat4ToU32(color);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector4 ToVector4(this uint color)
{
return ImGui.ColorConvertU32ToFloat4(color);
}
}