I was following along with the readme, but whenever i use Load.shared.add(...).load(()=>{}) attempted the retrieve the texture with Loader.shared.resources[...].texture always returns undefined. When I check in the console .texture has a value so i'm confused
The only thing i could get to work is storing a reference to Texture.from(...), but I'm not sure if that actually loads the texture to the GPU
I was following along with the readme, but whenever i use
Load.shared.add(...).load(()=>{})
attempted the retrieve the texture withLoader.shared.resources[...].texture
always returnsundefined
. When I check in the console.texture
has a value so i'm confusedThe only thing i could get to work is storing a reference to
Texture.from(...)
, but I'm not sure if that actually loads the texture to the GPUtest.zip example of it returning undefined