Posts

Post not yet marked as solved
2 Replies
367 Views
I have printed __cplusplus that is "201402",and my build setting also is c++17. If this issue cannot be perfectly solved that I have to change my MINDEPLOYMENT_TARGET to iOS 13
Posted Last updated
.
Post marked as solved
2 Replies
1.2k Views
my code: guard let drawable = view.currentDrawable else { return }     let renderPassDescriptor = MTLRenderPassDescriptor()     renderPassDescriptor.colorAttachments[0].texture = drawable.texture //There is a crash     renderPassDescriptor.colorAttachments[0].loadAction = .clear     renderPassDescriptor.colorAttachments[0].clearColor = MTLClearColor(red: 0, green: 0, blue: 0, alpha: 0) error info: MTLTextureDescriptor has height (9964) greater than the maximum allowed size of 8192. > validateTextureDimensions > validateTextureDimensions:1075: failed assertion `MTLTextureDescriptor has height (9964) greater than the maximum allowed size of 8192.' please help: I try to put a canvas on an image,as you can see,the size of this canvas is too large to exceed the GPU processing limit。Is there a better way that don't change size to solve this problem
Posted Last updated
.