Documentation Archive Developer
Search

CoreVideo Changes for Swift

CoreVideo

Modified CVBuffer
NameDeclaration
FromCVBufferRef
typealias CVBufferRef = CVBuffer
ToCVBuffer
class CVBuffer {
}

NameDeclaration
FromCVMetalTextureCacheRef
typealias CVMetalTextureCacheRef = CVMetalTextureCache
ToCVMetalTextureCache
class CVMetalTextureCache {
}

NameDeclaration
FromCVOpenGLESTextureCacheRef
typealias CVOpenGLESTextureCacheRef = CVOpenGLESTextureCache
ToCVOpenGLESTextureCache
class CVOpenGLESTextureCache {
}

NameDeclaration
FromCVPixelBufferPoolRef
typealias CVPixelBufferPoolRef = CVPixelBufferPool
ToCVPixelBufferPool
class CVPixelBufferPool {
}

Declaration
From
typealias CVMetalTextureRef = CVMetalTexture
To
typealias CVMetalTexture = CVImageBuffer

Declaration
From
typealias CVOpenGLESTextureRef = CVOpenGLESTexture
To
typealias CVOpenGLESTexture = CVImageBuffer

Modified CVPixelBuffer
Declaration
From
typealias CVPixelBufferRef = CVPixelBuffer
To
typealias CVPixelBuffer = CVImageBuffer