| Parameter | Description |
|---|---|
| mesh | Mesh to get the submesh data and topology from. |
| submesh | Submesh index within mesh to get the vertex attributes from. |
| renderer | Renderer to get the forceCullMode and negativeScale data from. |
Sets the relevant graphics state fields according to data from the provided submesh and renderer.