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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961