Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

RayTracingSubGeometryDesc.vertexCount

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public int vertexCount;

Description

The amount of vertices from a vertex buffer that defines a ray tracing geometry.

Together with vertexStart it defines the range of vertices that are referenced by the indices from an index buffer. In usual scenarios, the value of this field is the total amount of vertices in the vertex buffer while indexStart and indexCount define the sub-geometry range.