SetTargetBuffers
Sets the Camera to render to the chosen buffers of one or more RenderTextures.
읽는 시간 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.