Version: 2017.2
Experimental: this API is experimental and might be changed or removed in the future.

RenderPassAttachment.BindResolveSurface

マニュアルに切り替える
public void BindResolveSurface (Rendering.RenderTargetIdentifier tgt);

パラメーター

tgt The target surface to receive the MSAA-resolved pixels.

説明

When the renderpass that uses this attachment ends, resolve the MSAA surface into the given target.

Changes storeAction to either RenderBufferStoreAction.Resolve or RenderBufferStoreAction.StoreAndResolve depending on whether BindSurface has also been called. The target surface format must match the format given in the constructor, and the dimensions of the target surface must match the values given in RenderPass constructor. The target surface must not have MSAA enabled.

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