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

posted on 2019-12-12 17:24  minggoddess  阅读(828)  评论(0编辑  收藏  举报