public void ReplaceRenderPass() { Assert.AreEqual("SFX_PBS_0000000000000088_sort", ShaderLabelTools.WithRenderPass("SFX_PBS_0000000000000088_opaque", "sort")); }
public void AddRenderPass() { Assert.AreEqual("SFX_PBS_0000000000000088_near", ShaderLabelTools.WithRenderPass("SFX_PBS_0000000000000088", "near")); }
public void Empty() { Assert.AreEqual("_opaque", ShaderLabelTools.WithRenderPass("", "opaque")); Assert.AreEqual("_opaque", ShaderLabelTools.WithRenderPass(null, "opaque")); }
public void RemoveRenderPass() { Assert.AreEqual("SFX_PBS_0000000000000088_", ShaderLabelTools.WithRenderPass("SFX_PBS_0000000000000088_opaque", "")); }