기술 자료

Unity Engine

Unity Engine

subGeometriesValidation

Whether to validate the entries in the subGeometries array relative to vertexBuffer and indexBuffer buffers.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public bool subGeometriesValidation { readonly get; set; }

Remarks

Unity validates the ranges specified in the
RayTracingSubGeometryDesc
entries in the
subGeometries
array if the value is true. If the ranges are not valid, Unity throws an exception. You can disable this option before the release of your project for improved CPU performance.
Additional Resources: RayTracingSubGeometryDesc.