• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

GMS 2.3+ What's the difference between texture_prefetch and sprite_prefetch?

Zhanghua

Member
Is texture_prefetch just used to load the texture to memory?

and sprite_prefetch will load the sprites from loaded texture memory?

TKS!
 
Last edited:

Nocturne

Friendly Tyrant
Forum Staff
Admin
Moderator
They both do the same thing. Calling texture_prefetch loads a texture page by name into memory. Sprite_prefetch will load the texture page the sprite is on into memory. Either way, a texture page gets loaded into memory. :)
 
Top