init(textureDescriptor:iosurface:plane:)
Creates a new Lowleveldeviceresource from the specified IOSurface.
Declaration
init(textureDescriptor: MTLTextureDescriptor, iosurface: IOSurfaceRef, plane: Int) throwsParameters
- textureDescriptor:
A description of the properties for the texture.
- iosurface:
The underlying IOSurface for this memory resource.
- plane:
The plane within the IOSurface to use.