Version: 2019.2
LanguageEnglish
  • C#

RenderTargetBinding Constructor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public RenderTargetBinding(Rendering.RenderTargetIdentifier colorRenderTarget, Rendering.RenderBufferLoadAction colorLoadAction, Rendering.RenderBufferStoreAction colorStoreAction, Rendering.RenderTargetIdentifier depthRenderTarget, Rendering.RenderBufferLoadAction depthLoadAction, Rendering.RenderBufferStoreAction depthStoreAction);
public RenderTargetBinding(RenderTargetIdentifier[] colorRenderTargets, RenderBufferLoadAction[] colorLoadActions, RenderBufferStoreAction[] colorStoreActions, Rendering.RenderTargetIdentifier depthRenderTarget, Rendering.RenderBufferLoadAction depthLoadAction, Rendering.RenderBufferStoreAction depthStoreAction);
public RenderTargetBinding(RenderTargetSetup setup);

Parameters

colorColor buffers to use as render targets.
depthDepth buffer to use as render target.
colorLoadActionLoad actions for color buffers.
colorStoreActionStore actions for color buffers.
depthLoadActionLoad action for the depth/stencil buffer.
depthStoreActionStore action for the depth/stencil buffer.

Description

Constructs RenderTargetBinding.