Question about draw calls

If I have a modular wall system that uses blueprints for each part of the wall (Not static meshes directly placed into the level, but rather blueprints), are the static mesh components inside these blueprints inidividual draw calls or are they considered instanced?

For example, I have one blueprint with one piece of wall as a static mesh component. Let’s say I place 2 blueprints of these in the level, are these 2 draw calls or since it’s the same one it’s just one draw call?

Hi, each one will be a separate draw call.

To get them as one drawcall you’ll need to use a singleton instance manager - one set of ISM/HISM Components.

StaticMeshComponents are different than InstancedStaticMeshComponents as they only draw the one mesh - ISMCs draw all instances

But then we would be inside the same blueprint right?

If I use ISM/HISM in one blueprint but I spawn two of this blueprint in the level. The draw calls from each blueprint will be seperate? Or in other words the ISM of both blueprints will be 2 separate draw calls?

That’s why you need a singleton manager - outside of those BPs.

I do that in rdInst (on the marketplace) - it uses the same ISMCs across all BPs.

1 Like