Files
Test/Library/PackageCache/com.unity.render-pipelines.universal@ffe395a3a1d1/Editor/VFXGraph/VFXURPSubOutput.cs
T
2026-11-01 23:39:55 +02:00

18 lines
461 B
C#

using UnityEngine.Rendering.Universal;
#if HAS_VFX_GRAPH
namespace UnityEditor.VFX.URP
{
class VFXURPSubOutput : VFXSRPSubOutput
{
//URP only support motion vector on opaque geometry (with or without ShaderGraph)
public override bool supportsMotionVector => owner.isBlendModeOpaque;
public override string GetRenderPipelineTagStr()
{
return UniversalRenderPipeline.k_ShaderTagName;
}
}
}
#endif