Version: 2019.1

RenderTargetBindingConstructor

Switch to Manual
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.