SwiftextensionCoreVideo

extension CVBufferRef

Structure

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

extends{}

typealiasCVBufferRef

Members 5

  1. funcallAttachments(mode: CVAttachmentMode) -> CFDictionaryRef
  2. funcmerge(mode: CVAttachmentMode, attachments: CFDictionaryRef) -> ()
  3. funcpropagate(from: AnyObject) -> ()
  4. funcremoveAllAttachments() -> ()
  5. subscriptsubscript.getter : (attachment: String) -> (value: AnyObject, mode: CVAttachmentMode)?
extension __C.CVBufferRef {
    struct CreationAttributes {
        enum Backing {
            case ioSurfaceWithProperties([Swift.String : Any])
            case memory
            case ioSurface
        }
        var pixelFormatType: CoreVideo.CVPixelFormatType
        var size: CoreVideo.CVImageSize
        var backing: __C.CVBufferRef.CreationAttributes.Backing
        var compatibility: CoreVideo.CVPixelFormatDescription.Compatibility
        var planeAlignment: Swift.Int?
        var bytesPerRowAlignment: Swift.Int?
        var extendedPixels: CoreVideo.CVPixelBufferPadding?
        var legacyAttributes: CoreVideo.TypedCFDictionary
        var formatDescription: CoreVideo.CVPixelFormatDescription?
        var preferRealTimeCacheMode: Swift.Bool
        var takeIOSurfaceWiringAssertion: Swift.Bool
        var makeIOSurfacePurgeable: Swift.Bool

        init(pixelFormatType: CoreVideo.CVPixelFormatType, size: CoreVideo.CVImageSize, compatibility: CoreVideo.CVPixelFormatDescription.Compatibility, bytesPerRowAlignment: Swift.Int?, planeAlignment: Swift.Int?, extendedPixels: CoreVideo.CVPixelBufferPadding?)
        init?(_: __C.CVBufferRef.Attributes)

        var dictionaryRepresentation: __C.CFDictionaryRef {
            get
        }
    }
    @dynamicMemberLookup
    struct Attributes {
        var storage: CoreVideo.TypedCFDictionary

        init(rawAttributes: [Swift.String : any Swift.Sendable])
        init(pixelFormatTypes: [CoreVideo.CVPixelFormatType]?, size: CoreVideo.CVImageSize?, compatibility: CoreVideo.CVPixelFormatDescription.Compatibility, bytesPerRowAlignment: Swift.Int?, planeAlignment: Swift.Int?, extendedPixels: CoreVideo.CVPixelBufferPadding?)
        init(dictionaryRepresentation: __C.CFDictionaryRef)
        init?(merging: [__C.CVBufferRef.Attributes])
        init(_: __C.CVBufferRef.CreationAttributes)

        var dictionaryRepresentation: __C.CFDictionaryRef {
            get
        }
        var pixelFormatTypes: [CoreVideo.CVPixelFormatType]? {
            get
            set
        }
        var rawAttributes: [Swift.String : any Swift.Sendable] {
            get
        }

        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, CoreVideo.CVImageSize>) -> CoreVideo.CVImageSize? {
            get
            set
        }
        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, CoreVideo.CVPixelFormatType>) -> CoreVideo.CVPixelFormatType? {
            get
            set
        }
        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, CoreVideo.CVPixelBufferPadding?>) -> CoreVideo.CVPixelBufferPadding? {
            get
            set
        }
        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, CoreVideo.CVPixelFormatDescription.Compatibility>) -> CoreVideo.CVPixelFormatDescription.Compatibility {
            get
            set
        }
        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, CoreVideo.CVPixelFormatDescription?>) -> CoreVideo.CVPixelFormatDescription? {
            get
            set
        }
        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, __C.CVBufferRef.CreationAttributes.Backing>) -> __C.CVBufferRef.CreationAttributes.Backing {
            get
            set
        }
        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, Swift.Bool>) -> Swift.Bool? {
            get
            set
        }
        subscript(dynamicMember: Swift.WritableKeyPath<__C.CVBufferRef.CreationAttributes, Swift.Int?>) -> Swift.Int? {
            get
            set
        }
    }
}