Esempio n. 1
0
 /// <summary>
 /// Performs a raytracing acceleration structure build on the GPU and optionally outputs post-build information immediately after the build.
 /// </summary>
 /// <param name="description">Description of the acceleration structure to build.</param>
 /// <param name="postbuildInfoDescriptions">Array of descriptions for post-build info to generate describing properties of the acceleration structure that was built.</param>
 public void BuildRaytracingAccelerationStructure(BuildRaytracingAccelerationStructureDescription description, RaytracingAccelerationStructurePostbuildInfoDescription[] postbuildInfoDescriptions)
 {
     BuildRaytracingAccelerationStructure(ref description, postbuildInfoDescriptions.Length, postbuildInfoDescriptions);
 }
Esempio n. 2
0
 /// <summary>
 /// Performs a raytracing acceleration structure build on the GPU and optionally outputs post-build information immediately after the build.
 /// </summary>
 /// <param name="description">Description of the acceleration structure to build.</param>
 public void BuildRaytracingAccelerationStructure(BuildRaytracingAccelerationStructureDescription description)
 {
     BuildRaytracingAccelerationStructure(ref description, 0, null);
 }