Files
Hasebe/Library/PackageCache/com.unity.render-pipelines.universal@256d43f8fc98/Editor/VFXGraph/VFXURPSubOutput.cs
T
2026-09-21 12:15:57 +03: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