subGeometries
The geometry configurations the ray tracing instances use.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public RayTracingSubGeometryDesc[] subGeometries { readonly get; set; }
Remarks
Refer to the RayTracingAccelerationStructure.AddInstancesIndirect method for additional information regarding how to specify ray tracing instance data that reference geometry entries from this array.
The entries in the array contain data that reference the RayTracingMultiGeometryInstanceConfig.vertexBuffer and RayTracingMultiGeometryInstanceConfig.indexBuffer GraphicsBuffers.
Additional Resources: RayTracingSubGeometryDesc.