Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

RenderTargetBinding Constructor

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.

Did you find this page useful? Please give it a rating: