Version: 2022.2

AttachmentDescriptor.ConfigureResolveTarget

切换到手册
public void ConfigureResolveTarget (Rendering.RenderTargetIdentifier target);

参数

tgt 要接收 MSAA 解析的像素的目标表面。

描述

当使用此附件的渲染通道结束时,将 MSAA 表面解析到给定目标。

将 storeAction 更改为 RenderBufferStoreAction.ResolveRenderBufferStoreAction.StoreAndResolve,具体取决于 ConfigureTarget 是否也已经被调用。目标表面的格式必须与构造函数中的给定格式匹配,并且目标表面的尺寸必须与 RenderPass 构造函数中的给定值匹配。目标表面必须未启用 MSAA。