vertexCount
The amount of vertices from RayTracingGeometryInstanceConfig.vertexBuffer that defines this ray tracing geometry instance.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int vertexCount { readonly get; set; }
Remarks
Use -1 to instruct Unity to use all the vertices from RayTracingGeometryInstanceConfig.vertexBuffer when building the acceleration structure associated with the ray tracing instance.