jellix Posted September 21, 2016 Share Posted September 21, 2016 Hi, I'm using the AssetManager to preload an image. Then I create a Texture and give it the filename of the image that was previously loaded. The image is loaded again. So the question is: can I create a Texture and and apply a previously loaded image to it? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 21, 2016 Share Posted September 21, 2016 Hi! We had a similar discussion recently regarding the cube texture. Texture are cached at texture level and not at image level. So I suggest just creating a dummy texture with the filename you want. This way the new texture will be loaded from cache Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.