mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Allow C# side manual construction of ResourceIds from integers
* This is primarily for ease-of-use from python scripting
This commit is contained in:
@@ -57,9 +57,9 @@ namespace renderdoc
|
||||
return !(x == y);
|
||||
}
|
||||
|
||||
public static ResourceId Null = new ResourceId(0, true);
|
||||
public static ResourceId Null = new ResourceId(0);
|
||||
|
||||
private ResourceId(UInt64 id, bool explicitConstruct)
|
||||
public ResourceId(UInt64 id)
|
||||
{
|
||||
m_ID = id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user