XRDisplaySubsystem.GetRenderTextureForRenderPass

切换到手册
public RenderTexture GetRenderTextureForRenderPass (int renderPass);

参数

renderPass要为其获取渲染纹理的渲染通道索引。

返回

RenderTexture 与该渲染通道关联的渲染纹理,如果未找到,则为 null。

描述

给定一个渲染通道,返回为该渲染通道提供支持的 RenderTexture 实例。如果渲染通道无效,或是如果渲染纹理不存在,则返回 null。

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