Add URP render pass API parity shims
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace XCEngine.Rendering
|
||||
{
|
||||
public sealed class ProfilingSampler
|
||||
{
|
||||
public ProfilingSampler(
|
||||
string name)
|
||||
{
|
||||
this.name =
|
||||
string.IsNullOrEmpty(name)
|
||||
? "Unnamed_ScriptableRenderPass"
|
||||
: name;
|
||||
}
|
||||
|
||||
public string name { get; private set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user