Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RayTracingGeometryInstanceConfig.accelerationStructureBuildFlagsOverride

public bool accelerationStructureBuildFlagsOverride;

Description

Whether to override the build flags specified when creating a RayTracingAccelerationStructure.

If you set this value to true, Unity uses RayTracingGeometryInstanceConfig.accelerationStructureBuildFlags when it builds the acceleration structure for the geometry referenced by this ray tracing instance.