| Parameter | Description |
|---|---|
| vertices | The vertices to be drawn. All referenced vertices must be initialized. |
| indices | The triangle list indices. Must be a multiple of 3. All indices must be initialized. |
| texture | An optional texture to be applied on the triangles. Pass null to rely on vertex colors only. |
Records a draw command with the provided triangle-list indexed mesh.
| Parameter | Description |
|---|---|
| vertices | The vertices to be drawn. All referenced vertices must be initialized. |
| indices | The triangle list indices. Must be a multiple of 3. All indices must be initialized. |
| texture | An optional texture to be applied on the triangles. Pass null to rely on vertex colors only. |
| textureOptions | Flags that apply to the provided texture for this draw call. |
Records a draw command with the provided triangle-list indexed mesh.
Records a draw command with a UIMesh bundle.
See MeshGenerationContext.DrawMesh for the lifetime contract.
Records a draw command with a UIMesh bundle.
Records a draw command and tags it with a user-defined identifier surfaced on
DrawData.userData in mesh modifiers.
Records a draw command and tags it with a user-defined identifier surfaced on
DrawData.userData in mesh modifiers.
Records a draw command with a UIMesh bundle and tags it with a user-defined identifier
surfaced on DrawData.userData in mesh modifiers.
Records a draw command with a UIMesh bundle and tags it with a user-defined identifier
surfaced on DrawData.userData in mesh modifiers.