AsyncImageLibrary icon indicating copy to clipboard operation
AsyncImageLibrary copied to clipboard

Texture2D is not readable

Open BigGiantHead opened this issue 3 years ago • 3 comments

I went through the code and at line 76 you are making the texture not readable. Is there a reason for this? It is making it difficult working with the texture.

BigGiantHead avatar Jan 25 '23 10:01 BigGiantHead

Yes, it was used for free memory. However, I never thought of it that way. I guess it would be better to make the texture readable. Perhaps, an optional flag in the constructor to determine whether make the texture readable or not after processing.

If you have made changes, please open a Pull Request. I would be happy to merge your changes. Thanks.

SrejonKhan avatar Jan 25 '23 13:01 SrejonKhan

Sure, I get it. All right, I will make a pull request once I make my changes. I will try to add a parameter for this.

BigGiantHead avatar Jan 26 '23 08:01 BigGiantHead

@BigGiantHead Gentle ping! Would you like to open a PR with your changes? Your contribution would be greatly appreciated.

SrejonKhan avatar Apr 30 '23 21:04 SrejonKhan