metalTexture(for:)
Retrieve a Metal texture from the IOSurface for rendering on the passed-in device. The returned texture is autoreleased.
Declaration
func metalTexture(for metalDevice: (any MTLDevice)!) -> (any MTLTexture)!Retrieve a Metal texture from the IOSurface for rendering on the passed-in device. The returned texture is autoreleased.
func metalTexture(for metalDevice: (any MTLDevice)!) -> (any MTLTexture)!