RenderTargetBinding Constructor

Declaration

public RenderTargetBinding(Rendering.RenderTargetIdentifier colorRenderTarget, Rendering.RenderBufferLoadAction colorLoadAction, Rendering.RenderBufferStoreAction colorStoreAction, Rendering.RenderTargetIdentifier depthRenderTarget, Rendering.RenderBufferLoadAction depthLoadAction, Rendering.RenderBufferStoreAction depthStoreAction);

Declaration

public RenderTargetBinding(RenderTargetIdentifier[] colorRenderTargets, RenderBufferLoadAction[] colorLoadActions, RenderBufferStoreAction[] colorStoreActions, Rendering.RenderTargetIdentifier depthRenderTarget, Rendering.RenderBufferLoadAction depthLoadAction, Rendering.RenderBufferStoreAction depthStoreAction);

Declaration

public RenderTargetBinding(RenderTargetSetup setup);

Parameters

color Color buffers to use as render targets.
depth Depth buffer to use as render target.
colorLoadAction Load actions for color buffers.
colorStoreAction Store actions for color buffers.
depthLoadAction Load action for the depth/stencil buffer.
depthStoreAction Store action for the depth/stencil buffer.

Description

Constructs RenderTargetBinding.


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