Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


buildFlags

The build flags Unity uses to build a RayTracingAccelerationStructure.
Read time 1 minuteLast updated 8 days ago

Definition

public RayTracingAccelerationStructureBuildFlags buildFlags { readonly get; set; }

Remarks

For acceleration structure implementations that use a two-level hierarchy, for example DirectX Raytracing (DXR), Unity uses these flags to build the top-level acceleration structure (TLAS).
To customize the flags Unity uses to build the bottom-level acceleration structures (BLAS), use Renderer settings or the parameters in the RayTracingAccelerationStructure.AddInstance method.