Method SetCameraRenderTarget
SetCameraRenderTarget(CommandBuffer, bool, ClearFlag)
Bind the camera color buffer as the current render target
선언
[Obsolete("Use directly CoreUtils.SetRenderTarget with the render target of your choice.")]
protected void SetCameraRenderTarget(CommandBuffer cmd, bool bindDepth = true, ClearFlag clearFlags = ClearFlag.None)
파라미터
타입 | 이름 | 설명 |
---|---|---|
CommandBuffer | cmd | |
bool | bindDepth | if true we bind the camera depth buffer in addition to the color |
ClearFlag | clearFlags |