RenderTargetBindingConstructor

切换到手册
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);

参数

color要用作渲染目标的颜色缓冲区。
depth要用作渲染目标的深度缓冲区。
colorLoadAction颜色缓冲区的加载操作。
colorStoreAction颜色缓冲区的存储操作。
depthLoadAction深度/模板缓冲区的加载操作。
depthStoreAction深度/模板缓冲区的存储操作。

描述

构造 RenderTargetBinding。