Version: 2022.2

CommandBuffer.BuildRayTracingAccelerationStructure

切换到手册
public void BuildRayTracingAccelerationStructure (Experimental.Rendering.RayTracingAccelerationStructure accelerationStructure);
public void BuildRayTracingAccelerationStructure (Experimental.Rendering.RayTracingAccelerationStructure accelerationStructure, Vector3 relativeOrigin);

参数

accelerationStructure 要生成的 RayTracingAccelerationStructure

描述

Adds a command to build the RayTracingAccelerationStructure to be used in a ray tracing dispatch.