2022-01-05 00:52:00 +03:00

15 lines
400 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?, replace: Bool, animated: Bool)
}