Ilya Laktyushin 851f106afd Various Fixes
2022-01-31 22:35:34 +03:00

15 lines
416 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, mulAlpha: Bool, completion: @escaping () -> Void)
func setOverlayColor(_ color: UIColor?, replace: Bool, animated: Bool)
}