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

RayTracingAccelerationStructure.GetSize

切换到手册
public ulong GetSize ();

返回

ulong The total size of the acceleration structure in GPU memory in bytes.

描述

Returns the total size of this RayTracingAccelerationStructure in GPU memory in bytes.

Building the acceleration structure prior to this call is not required.