2020-10-30 17:24:56 +04:00

15 lines
385 B
Swift

import Foundation
import SwiftSignalKit
import AsyncDisplayKit
public enum AnimationRendererFrameType {
case argb
case yuva
}
protocol AnimationRenderer {
func render(queue: Queue, width: Int, height: Int, bytesPerRow: Int, data: Data, type: AnimationRendererFrameType, completion: @escaping () -> Void)
func setOverlayColor(_ color: UIColor?, animated: Bool)
}