Particle System End-to-End Test

This test simulates the COMPLETE particle rendering pipeline.

Step 1: Test Texture

2x2 Spritesheet (128x128 pixels):
┌───────────┬───────────┐
│  RED (0)  │ GREEN (1) │  row=0, v: 0.0 - 0.5
├───────────┼───────────┤
│  BLUE (2) │ YELLOW(3) │  row=1, v: 0.5 - 1.0
└───────────┴───────────┘
        

Step 2: TextureSheetAnimationModule._setParticleUV()


    

Step 3: ParticleRenderDataProvider._updateRenderData()


    

Step 4: EngineRenderSystem.convertProviderDataToSprites()


    

Step 5: sprite_batch.rs add_sprite_vertices_to_batch()


    

Step 6: Final Rendering Result

Test Results

FrameExpectedGotStatus

Conclusion