I want to merge meshs which has same material but diffrent mesh when render thread, and keep them independent.

I want to merge meshs which has same material but diffrent mesh when render thread, and keep them independent.
This is mean that meshs are not be merged to a actor,only on render thead to merge drawcommands.I search many answers ,they say I should use ISM or HISM, but these function are only work when mesh and material are same.
I thought a idea that , change the ISM’s code to rewrite its merge conditions to let diffrent mesh can be merged also which has same material.

你想在哪个阶段做这个事情呢?游戏运行时还是编辑器阶段?

运行时直接附加B成为A的子组件共享位置旋转信息就行了啊;
编辑器阶段都还没投入使用想怎么合怎么合啊,单个模型可以拥有多个材质插槽,你在外部DCC软件里面分好材质就行。

Thank you for your answer. It has now been resolved. In the end, we did not tamper with the rendering logic, but instead used the reconstruction of MeshDescription to control the generation of staticmesh.:rose::rose::rose: