Skip to content

MetalImageView

PingAK9 edited this page Nov 26, 2020 · 1 revision

MetalImageView

canImport(MetalKit) && !targetEnvironment(simulator)
open class MetalImageView: MTKView, HardwareImageViewType

Inheritance

HardwareImageViewType, MTKView

Initializers

init(frame:device:)

canImport(MetalKit) && !targetEnvironment(simulator)
public override init(frame frameRect: CGRect, device: MTLDevice?)

init(coder:)

canImport(MetalKit) && !targetEnvironment(simulator)
public required init(coder: NSCoder)

Properties

image

canImport(MetalKit) && !targetEnvironment(simulator)
var image: CIImage?
Clone this wiki locally