mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
ISIT: remove api9 compat, IDAM: make Empty4X4 transparent (#1877)
* Remove api9 compat from texture stuff * Make Empty4X4 actually transparent
This commit is contained in:
parent
bdc4c226d4
commit
7a90921358
4 changed files with 7 additions and 117 deletions
|
|
@ -14,20 +14,20 @@ public enum DalamudAsset
|
|||
/// <summary>
|
||||
/// Nothing.
|
||||
/// </summary>
|
||||
[DalamudAsset(DalamudAssetPurpose.Empty, data: new byte[0])]
|
||||
[DalamudAsset(DalamudAssetPurpose.Empty, data: [])]
|
||||
Unspecified = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="DalamudAssetPurpose.TextureFromRaw"/>: The fallback empty texture.
|
||||
/// <see cref="DalamudAssetPurpose.TextureFromRaw"/>: A texture that is completely transparent.
|
||||
/// </summary>
|
||||
[DalamudAsset(DalamudAssetPurpose.TextureFromRaw, data: new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 })]
|
||||
[DalamudAsset(DalamudAssetPurpose.TextureFromRaw, data: [0, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF])]
|
||||
[DalamudAssetRawTexture(4, 4, DXGI_FORMAT.DXGI_FORMAT_BC1_UNORM, 8)]
|
||||
Empty4X4 = 1000,
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="DalamudAssetPurpose.TextureFromRaw"/>: The fallback empty texture.
|
||||
/// <see cref="DalamudAssetPurpose.TextureFromRaw"/>: A texture that is completely white.
|
||||
/// </summary>
|
||||
[DalamudAsset(DalamudAssetPurpose.TextureFromRaw, data: new byte[] { 0xFF, 0xFF, 0xFF, 0xFF, 0, 0, 0, 0 })]
|
||||
[DalamudAsset(DalamudAssetPurpose.TextureFromRaw, data: [0xFF, 0xFF, 0xFF, 0xFF, 0, 0, 0, 0])]
|
||||
[DalamudAssetRawTexture(4, 4, DXGI_FORMAT.DXGI_FORMAT_BC1_UNORM, 8)]
|
||||
White4X4 = 1014,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue