SwiftstructVisualActionPredictionSupport

struct VisualActionPredictionSupport.ImageBuffer

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 10

  1. fieldlet bytesPerRow: Int+0x18
  2. fieldlet dataSize: Int+0x20
  3. fieldlet height: Int+0x8
  4. fieldlet isPlanar: Bool+0x28
  5. fieldlet pixelFormatType: UInt32+0x10
  6. fieldlet storage: VisualActionPredictionSupport.ImageBuffer.Storage+0x30
  7. fieldlet width: Int+0x0
  8. funcmakePixelBuffer() throws -> CVBufferRef
  9. initinit(width: Int, height: Int, pixelFormatType: UInt32, bytesPerRow: Int, dataSize: Int, isPlanar: Bool, storage: VisualActionPredictionSupport.ImageBuffer.Storage) -> VisualActionPredictionSupport.ImageBuffer
  10. varvar description: String { get }
struct ImageBuffer {
    enum Storage {
        struct Plane {
            enum CodingKeys {
                case index
                case width
                case height
                case bytesPerRow
                case data
            }
            let index: Swift.Int
            let width: Swift.Int
            let height: Swift.Int
            let bytesPerRow: Swift.Int
            let data: Foundation.Data
        }
        enum CodingKeys {
            case data
            case planes
        }
        enum DataCodingKeys {
            case _0
        }
        enum PlanesCodingKeys {
            case _0
        }
        case data(Foundation.Data)
        case planes([VisualActionPredictionSupport.ImageBuffer.Storage.Plane])
    }
    enum CodingKeys {
        case width
        case height
        case pixelFormatType
        case bytesPerRow
        case dataSize
        case isPlanar
        case storage
    }
    let width: Swift.Int
    let height: Swift.Int
    let pixelFormatType: Swift.UInt32
    let bytesPerRow: Swift.Int
    let dataSize: Swift.Int
    let isPlanar: Swift.Bool
    let storage: VisualActionPredictionSupport.ImageBuffer.Storage

    init(width: Swift.Int, height: Swift.Int, pixelFormatType: Swift.UInt32, bytesPerRow: Swift.Int, dataSize: Swift.Int, isPlanar: Swift.Bool, storage: VisualActionPredictionSupport.ImageBuffer.Storage)

    var description: Swift.String {
        get
    }

    func makePixelBuffer() throws -> __C.CVBufferRef
}