Version: 2023.1

SystemInfo.supportsRayTracingShaders

切换到手册
public static bool supportsRayTracingShaders ;

描述

Checks if ray tracing shaders are supported by the current system configuration. (Read Only)

光线追踪支持取决于以下因素:操作系统支持、GPU、图形驱动程序和图形 API。

In DirectX 12 (DX12), this property corresponds to DirectX Raytracing (DXR) Tier 1.0 support which adds support for the following shader types: ray generation, miss, closest hit, any hit, intersection and callable shader.

See Also: RayTracingShader, SystemInfo.supportsRayTracing.

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