Version: 2022.2
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingFlags.ComputeMaterialsCRC

マニュアルに切り替える

説明

Causes RayTracingAccelerationStructure.CullInstances to compute the CRC hash values of all unique Materials used by ray tracing instances that were added to the acceleration structure.

The array of Material CRC values is returned by RayTracingAccelerationStructure.CullInstances in RayTracingInstanceCullingResults.

The cost for enabling this flag depends on how complex the Materials are and how many different Materials are used in a Scene. The CRC array can be used for example to reset the convergence during path tracing if a Material property has changed between frames.

See Also: Material.ComputeCRC, HashUtilities.