語言

CVPixelBufferPool 類別

定義

一組 CVPixelBuffer可重複使用的 s。

public class CVPixelBufferPool : CoreFoundation.NativeObject
type CVPixelBufferPool = class
    inherit NativeObject
繼承

建構函式

名稱 Description
CVPixelBufferPool(CVPixelBufferPoolSettings, CVPixelBufferAttributes)

建立包含指定參數的 CVPixelBufferPool。

CVPixelBufferPool(NSDictionary, NSDictionary)

建立包含指定參數(弱型別)的 CVPixelBufferPool。

屬性

名稱 Description
Attributes

會回傳物件的屬性,你應該用設定屬性,因為它會回傳強型別版本。

Handle

一組 CVPixelBuffer可重複使用的 s。

(繼承來源 DisposableObject)
MaximumBufferAgeKey

一組 CVPixelBuffer可重複使用的 s。

MinimumBufferCountKey

一組 CVPixelBuffer可重複使用的 s。

Owns

一組 CVPixelBuffer可重複使用的 s。

(繼承來源 DisposableObject)
PixelBufferAttributes

包含池中所有 PixelBuffer 屬性的鬆散型別 NSDictionary,使用串列型別的 Settings 屬性會比較容易。

Settings

PixelBufferPool 正在使用的設定。

TypeID

CVPixelBufferPool 的 CoreFoundation TypeID。

方法

名稱 Description
ClearHandle()

一組 CVPixelBuffer可重複使用的 s。

(繼承來源 DisposableObject)
CreatePixelBuffer()

在池中建立一個新的 CVPixelBuffer。

CreatePixelBuffer(CVPixelBufferPoolAllocationSettings, CVReturn)

在池中建立一個新的 CVPixelBuffer。

Dispose()

釋放此物件所使用的所有資源。

(繼承來源 DisposableObject)
Dispose(Boolean)

釋放此物件所使用的資源。

(繼承來源 NativeObject)
Equals(Object)

一組 CVPixelBuffer可重複使用的 s。

(繼承來源 DisposableObject)
Flush(CVPixelBufferPoolFlushFlags)

用指定的選項清除像素緩衝池。

GetCheckedHandle()

一組 CVPixelBuffer可重複使用的 s。

(繼承來源 DisposableObject)
GetHashCode()

一組 CVPixelBuffer可重複使用的 s。

(繼承來源 DisposableObject)
InitializeHandle(NativeHandle)

一組 CVPixelBuffer可重複使用的 s。

(繼承來源 DisposableObject)
Release()

一組 CVPixelBuffer可重複使用的 s。

Retain()

一組 CVPixelBuffer可重複使用的 s。

擴充方法

名稱 Description
GetHandle(INativeObject)

一組 CVPixelBuffer可重複使用的 s。

GetNonNullHandle(INativeObject, String)

一組 CVPixelBuffer可重複使用的 s。

適用於