Version: 2023.2

CommandBuffer.ThrowOnSetRenderTarget

切换到手册
public static bool ThrowOnSetRenderTarget ;

描述

Throw an exception when SetRenderTarget is recorded on a command buffer. This is mainly usefull when using native renderpasses to avoid inadvertently recording SetRenderTarget commands on the command buffer.