Contents

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)!

See Also

Instance Methods