CommandBuffer.ThrowOnSetRenderTarget

public static bool ThrowOnSetRenderTarget;

Description

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.


Did you find this page useful? Please give it a rating: