Replaced IntX by intX, Basic AssetViewer (can view Textures, kind of)

This commit is contained in:
Simon Lübeß
2023-07-01 00:15:01 +02:00
parent e12fcaacff
commit 77c45db122
37 changed files with 1299 additions and 1688 deletions
+7
View File
@@ -19,6 +19,8 @@ struct AssetHandle : IHashable
public bool IsValid => this != .Invalid;
public bool IsInvalid => this == .Invalid;
public UUID ID => _uuid;
/// Create a new random AssetHandle
public this()
{
@@ -73,6 +75,11 @@ struct AssetHandle : IHashable
return .Ok;
}
public override void ToString(String strBuffer)
{
_uuid.ToString(strBuffer);
}
}
struct AssetHandle<T> where T : Asset