# Texture Streaming

**URL:** <https://forums.unrealengine.com/t/texture-streaming/226304>\
**Category:** C++\
**Tags:** unreal-engine, UE4-26\
**Created:** [April 25, 2021, 6:55am UTC](https://forums.unrealengine.com/t/texture-streaming/226304 "2021-04-25T06:55:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KaidoomDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kaidoomdev/32/977996_2.png) [@KaidoomDev](https://forums.unrealengine.com/u/KaidoomDev)\
**Post date:** [April 25, 2021, 6:55am UTC](https://forums.unrealengine.com/t/texture-streaming/226304/1 "2021-04-25T06:55:59Z")

</div>

Hi,

I have a blueprint where a certain skeletal mesh is set dynamically and then I capture a snapshot of the skeletal mesh, the issue is because I’m doing it in the same frame the material of the skeletal mesh is not fully streamed so I get a blurry texture, this mainly happens if I just opened the editor so the material is not yet fully loaded in memory, if I set the skeletal mesh and add some delay to wait for the material to stream fully then capture the snapshot then everything is good, but I would like a way to know when a certain material is loaded fully then I can take the snapshot.

Here’s an example when the item is just set:

 ![Blurry](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/a/1a47bf0edfee6d96b7fcebd19ab69552f70c94e0.jpeg)

And of course when it’s loaded

 ![Blurry2](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/2/b25091e4e18c03de85b609016ed714b2ab08919e.jpeg)

It takes a split second for it to load which is normal, so my question is is there a way to know when this material is fully loaded so I can then take the snapshot, perhaps some delegate I can bind to or some value I can keep an eye on ?

Thank you so much I appreciate every bit of help, I spend a couple hours digging through the engine code but so far I’ve failed to find a way.

---

<div class="post-metadata">

**Author:** ![KaidoomDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kaidoomdev/32/977996_2.png) [@KaidoomDev](https://forums.unrealengine.com/u/KaidoomDev)\
**Post date:** [April 25, 2021, 8:31am UTC](https://forums.unrealengine.com/t/texture-streaming/226304/2 "2021-04-25T08:31:47Z")

</div>

Update: I found a solution after digging some more, if you know a better one let me know.  
I made this function which I can use to pass a skeletal/static mesh component.  
 ![Streaming](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/f/6f107ee2c00e28f15180a8020cee5d0c961f61b5.jpeg)

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [April 25, 2021, 6:26pm UTC](https://forums.unrealengine.com/t/texture-streaming/226304/3 "2021-04-25T18:26:08Z")

</div>

Force loading the textures fully: [Load mip maps? - #8 by midgunner66](https://forums.unrealengine.com/t/load-mip-maps/213588/8) (read the full thread for other methods). For performance reasons, I would only do this on the mesh that your taking a snapshot of, not the texture itself or the mesh used during gameplay.

But your method isn’t bad since you don’t need it in the exact same frame.
