Version: 2023.2

CommandBuffer.BuildRayTracingAccelerationStructure

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

参数

accelerationStructure 要生成的 RayTracingAccelerationStructure

描述

Adds a command to build the RayTracingAccelerationStructure to be used in a ray tracing dispatch or when using inline ray tracing (ray queries).