기술 자료

Unity Engine

Unity Engine

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

colorBuffer

The RenderBuffer(s) to which color information will be rendered.

depthBuffer

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

colorBuffer

The RenderBuffer(s) to which color information will be rendered.

depthBuffer

The RenderBuffer to which depth information will be rendered.

Remarks