'MTLTexture' cannot be used as a type conforming to protocol 'BinaryInteger' because 'BinaryInteger' has static requirements

i try to migration openglEs -> metal

lass called: CVOpenGLESTextureGetName(texture) now: let texture = CVMetalTextureGetTexture(text_!)

object.my_func(Int32(inputTexture)); <-- error

prototype function: my_func(int texture);


Ответы (0 шт):