CVMetalTextureCacheCreateTextureFromImage should accept a parameter for MTLStorageMode

Originator:aaptho
Number:rdar://46004566 Date Originated:
Status: Resolved:
Product:Metal Product Version:
Classification:Feature Request Reproducible:Always
 
In its textureAttributes dictionary parameter, CVMetalTextureCacheCreateTextureFromImage accepts a kCVMetalTextureUsage key/value to specify the MTLTextureUsage for the resulting texture. However, there is no such key exposed for specifying the MTLStorageMode.

Please provide API to specify the storage mode for the created texture. Thanks!

Related: https://stackoverflow.com/questions/52256594/specify-textureusage-for-textures-created-with-cvmetaltexturecachecreatetexturef

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!