ADKMetalImageView Class Reference

Inherits from MTKView
Declared in ADKMetalImageView.h
ADKMetalImageView.m

  image

An image that you want to be rendered on the screen by Metal kit. It must be a core image and use it in main thread.

@property (strong, nonatomic) CIImage *image

Declared In

ADKMetalImageView.h

  contentMode

A flag used to determine how a image lays out its content when its bounds change. If you want to scale the image to fit or fill the space while maintaining the image’s original aspect ratio. It would help you do that easily.

@property (assign, nonatomic) ADKMetalImageViewContentMode contentMode

Declared In

ADKMetalImageView.h