You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* uvwt.xyz - Parametric coordinates of a hit (xy for triangles and quads)
133
+
* uvwt.w - Hit distance along the ray
134
+
* shapeid - ID of a shape
135
+
* primid - ID of a primitive within a shape
136
+
138
137
Shape ID corresponds to a value which is either automatically assigned to a shape at creation time by the API or manually set by the user using Shape::SetId() method. Primitive ID is a zero-based index of a primitive within a shape (in the order they were passed to CreateMesh method). If no intersection is detected, they are both set to kNullId(-1).
139
138
140
139
Buffers can be mapped and unmapped with the following calls:
0 commit comments