SetTargetBuffers
Sets the Camera to render to the chosen buffers of one or more RenderTextures.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
SetTargetBuffers(RenderBuffer, RenderBuffer)
Sets the Camera to render to the chosen buffers of one or more RenderTextures.
public void SetTargetBuffers(RenderBuffer colorBuffer, RenderBuffer depthBuffer)
Parameters
The RenderBuffer(s) to which color information will be rendered.
The RenderBuffer to which depth information will be rendered.
Remarks
SetTargetBuffers(RenderBuffer[], RenderBuffer)
Sets the Camera to render to the chosen buffers of one or more RenderTextures.
public void SetTargetBuffers(RenderBuffer[] colorBuffer, RenderBuffer depthBuffer)
Parameters
The RenderBuffer(s) to which color information will be rendered.
The RenderBuffer to which depth information will be rendered.