RayTracingGeometryInstanceConfig.vertexCount

public int vertexCount;

Description

The amount of vertices from vertexBuffer that defines this ray tracing geometry instance.

Use -1 to instruct Unity to use all the vertices from vertexBuffer when building the acceleration structure associated with the ray tracing instance.


Did you find this page useful? Please give it a rating: