unity里blit的load store action设置

做blit的 load store action时 用

setrendertarget做

之后blit 参数用 BuiltinRenderTextureType.CurrentActive

https://docs.unity3d.com/ScriptReference/Rendering.CommandBuffer.Blit.html

像你定义 rt A

setrendertargetwithAction(A)

之后再blit(,A)

这样是不行的 会重新用默认action设置一次A

原文地址:https://www.cnblogs.com/minggoddess/p/11608332.html