buildFlags
The build flags Unity uses to build a RayTracingAccelerationStructure.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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.