ドキュメント

Unity Engine

Unity Engine

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

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