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.