mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
Assign debug names for textures
This commit is contained in:
parent
6a0f774625
commit
7f12e3f3da
10 changed files with 100 additions and 35 deletions
|
|
@ -126,7 +126,10 @@ public class UldWrapper : IDisposable
|
|||
inputSlice.CopyTo(outputSlice);
|
||||
}
|
||||
|
||||
return this.textureManager.CreateFromRaw(RawImageSpecification.Rgba32(part.W, part.H), imageData);
|
||||
return this.textureManager.CreateFromRaw(
|
||||
RawImageSpecification.Rgba32(part.W, part.H),
|
||||
imageData,
|
||||
$"{nameof(UldWrapper)}({this.Uld?.FilePath.Path}: {part.TextureId})");
|
||||
}
|
||||
|
||||
private (uint Id, int Width, int Height, bool HD, byte[] RgbaData)? GetTexture(string texturePath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue