Skip to content

Conversation

@beicause
Copy link
Contributor

Objective

Depends on #22187. Fixes #17794. For platform consistency I think it’s reasonable to enable primitive restart by default.

Solution

Add index format to MeshPipelineKey, replace MeshPipelineKey::from_primitive_topology with MeshPipelineKey::from_primitive_topology_and_index, and enable strip_index_format in render pipeline.

Testing

Run lines example

Showcase

Click to view showcase 屏幕截图_20251218_210849

@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

StandardMaterial doesn't support primitive restart

2 participants