Post

Replies

Boosts

Views

Activity

Reply to How to use MTKTextureLoader to load png data
"MTKTextureLoaderOptionSRGB: @(NO)" in most the document say how it should be. not sure,just a regular image download from internet. when i use [UIImage imageWithData:data], it appears correctly, but when i use MTKTextureLoader, it appears wrong. can you use the origin image url that i provide, and use MTKTextureLoader to load it right. here is the url http://lxcode.bs2cdn.yy.com/da3d9ae1-93a0-4149-9977-babee7ad2fb8.png
2w