Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSize()

Returns the total size of this RayTracingAccelerationStructure in GPU memory in bytes.
Read time 1 minuteLast updated 6 days ago

Definition

public ulong GetSize()

Returns

Type

Description

ulongThe total size of the acceleration structure in GPU memory in bytes.

Remarks

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