Exemplo n.º 1
0
 public void ReplaceRenderPass()
 {
     Assert.AreEqual("SFX_PBS_0000000000000088_sort",
                     ShaderLabelTools.WithRenderPass("SFX_PBS_0000000000000088_opaque", "sort"));
 }
Exemplo n.º 2
0
 public void AddRenderPass()
 {
     Assert.AreEqual("SFX_PBS_0000000000000088_near",
                     ShaderLabelTools.WithRenderPass("SFX_PBS_0000000000000088", "near"));
 }
Exemplo n.º 3
0
 public void Empty()
 {
     Assert.AreEqual("_opaque", ShaderLabelTools.WithRenderPass("", "opaque"));
     Assert.AreEqual("_opaque", ShaderLabelTools.WithRenderPass(null, "opaque"));
 }
Exemplo n.º 4
0
 public void RemoveRenderPass()
 {
     Assert.AreEqual("SFX_PBS_0000000000000088_",
                     ShaderLabelTools.WithRenderPass("SFX_PBS_0000000000000088_opaque", ""));
 }