mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Add Size Vector to IDalamudTextureWrap
This commit is contained in:
parent
c767971a36
commit
6295f047ae
1 changed files with 8 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
using ImGuiScene;
|
||||
using System.Numerics;
|
||||
|
||||
using ImGuiScene;
|
||||
|
||||
namespace Dalamud.Interface.Internal;
|
||||
|
||||
|
|
@ -22,6 +24,11 @@ public interface IDalamudTextureWrap : IDisposable
|
|||
/// Gets the height of the texture.
|
||||
/// </summary>
|
||||
int Height { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the size vector of the texture using Width, Height.
|
||||
/// </summary>
|
||||
Vector2 Size => new(this.Width, this.Height);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue