Hi, I need to be able to fetch an image from a server via HTTP and then parse the response into a texture to display in a sprite.
But when running in a Native environment of course this functionality is not available. So I want to pass my HTTP request response data to a Texture2D directly via initWithData. But it turns out that the initWithData method is explicitly skipped from the JSB. I just wanted to check what the reason for this is. If I can’t use initWithData, is there any other way I can get an image fetched via HTTP into a texture2D when running on native not in a browser?