Files

16 lines
426 B
C#
Raw Permalink Normal View History

2026-10-21 20:45:23 +01:00
#if HAS_VFX_GRAPH
2026-11-30 19:13:17 +00:00
using UnityEngine.Rendering.Universal;
2026-10-21 20:45:23 +01:00
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;
2026-11-30 19:13:17 +00:00
public override string GetRenderPipelineTagStr() => UniversalRenderPipeline.k_ShaderTagName;
2026-10-21 20:45:23 +01:00
}
}
#endif