texture loading!
This commit is contained in:
@@ -10,6 +10,10 @@ namespace Generated
|
||||
{
|
||||
return h.Idx != UINT32_MAX;
|
||||
}
|
||||
bool IsValid(const TextureHandle& h)
|
||||
{
|
||||
return h.TextureIdx != UINT16_MAX && IsValid(h.Asset);
|
||||
}
|
||||
bool operator==(const AssetHandle& lhs, const AssetHandle& rhs)
|
||||
{
|
||||
return lhs.Idx == rhs.Idx;
|
||||
|
||||
Reference in New Issue
Block a user