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

RayTracingInstanceMaterialCRC

struct in UnityEngine.Experimental.Rendering

切换到手册

描述

A Material instance id and CRC hash value pair. This information is returned by a RayTracingAccelerationStructure.CullInstances call.

变量

crcThe CRC hash value of a Material that was computed during a RayTracingAccelerationStructure.CullInstances call.
instanceIDThe Material instance id whose Material CRC was computed during the RayTracingAccelerationStructure.CullInstances call.