文档

Unity Engine

Unity Engine

GetSize()

Returns the total size of this RayTracingAccelerationStructure in GPU memory in bytes.
阅读时间1 分钟最后更新于 1 个月前

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.