This version of Unity is unsupported.

RayTracingAccelerationStructure.GetSize

Declaration

public ulong GetSize();

Returns

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

Description

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

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