Share via


CVPixelBufferAttributes Class

Definition

Manages the attributes associated with CVPixelBuffer.

public class CVPixelBufferAttributes : Foundation.DictionaryContainer
type CVPixelBufferAttributes = class
    inherit DictionaryContainer
Inheritance
CVPixelBufferAttributes
Derived

Remarks

Constructors

Name Description
CVPixelBufferAttributes()

Creates an empty set of attributes.

CVPixelBufferAttributes(CVPixelFormatType, IntPtr, IntPtr)
CVPixelBufferAttributes(NSDictionary)

Initializes the strongly typed CVPixelBufferAttributes from the provided dictionary.

Properties

Name Description
AllocateWithIOSurface

If this key is set, this instructs CoreVideo to allocate the video buffers using the IOSurface.    This is required for some uses of pixel buffers.

BytesPerRowAlignment

Indicates the number of bytes per row in the pixel buffer.

CGBitmapContextCompatibility

Indicates whether the pixel buffer is compatible with Core Graphics bitmap contexts.

CGImageCompatibility

Indicates whether the pixel buffer is compatible with CGImage types

Dictionary

Gets the wrapped NSDictionary.

(Inherited from DictionaryContainer)
ExtendedPixelsBottom

The number of pixels padding the bottom of the image.

ExtendedPixelsLeft

The number of pixels padding the left of the image.

ExtendedPixelsRight

The number of pixels padding the right of the image.

ExtendedPixelsTop

The number of pixels padding the top of the image.

Height

The height of the pixel buffer.

MemoryAllocator

The allocator used for the pixel buffer.

MetalCompatibility

Indicates whether the pixel buffer is compatible with Metal.

OpenGLCompatibility

Indicates whether the pixel buffer is compatible with OpenGL contexts.

OpenGLESCompatibility

Indicates whether the pixel buffer is compatible with OpenGL for Embedded Systems contexts.

PixelFormatType

The pixel format of the pixel buffer.

PixelFormatTypes

The pixel formats of the pixel buffer.

PlaneAlignment

Specifies the alignment of the planes within the buffer.

Width

The width of the pixel buffer.

Methods

Name Description
GetArray<T>(NSString, Func<NativeHandle,T>)

Returns the nullable array of T associated with the specified key.

(Inherited from DictionaryContainer)
GetArray<T>(NSString)

Returns the nullable array of T associated with the specified key.

(Inherited from DictionaryContainer)
GetArrayOfDictionariesValue<T>(NSString)

Retrieves the DictionaryContainer array associeted with key.

(Inherited from DictionaryContainer)
GetBoolValue(NSString)

Returns the nullable Boolean associated with the specified key.

(Inherited from DictionaryContainer)
GetByteValue(NSString)

Returns the nullable Byte associated with the specified key.

(Inherited from DictionaryContainer)
GetCGPointValue(NSString)

Returns the nullable CGPoint associated with key.

(Inherited from DictionaryContainer)
GetCGRectValue(NSString)

Returns the nullable CGRect associated with key.

(Inherited from DictionaryContainer)
GetCGSizeValue(NSString)

Returns the nullable CGSize associated with key.

(Inherited from DictionaryContainer)
GetCMTimeValue(NSString)

Returns the nullable CMTime associated with key.

(Inherited from DictionaryContainer)
GetDateTimeValue(NSString)

Returns the nullable DateTime associated with key.

(Inherited from DictionaryContainer)
GetDoubleValue(NSString)

Returns the nullable Double associated with the specified key.

(Inherited from DictionaryContainer)
GetFloatValue(NSString)

Returns the nullable Single associated with the specified key.

(Inherited from DictionaryContainer)
GetInt16Value(NSString)

Returns the nullable Int16 associated with the specified key.

(Inherited from DictionaryContainer)
GetInt32Value(NSString)

Returns the nullable Int32 associated with the specified key.

(Inherited from DictionaryContainer)
GetLongValue(NSString)

Returns the nullable Int64 associated with the specified key.

(Inherited from DictionaryContainer)
GetNativeValue<T>(NSString)

Returns the nullable T associated with key.

(Inherited from DictionaryContainer)
GetNFloatValue(NSString)

Returns the nullable NFloat associated with the specified key.

(Inherited from DictionaryContainer)
GetNIntValue(NSString)

Returns the nullable IntPtr associated with the specified key.

(Inherited from DictionaryContainer)
GetNSDataAsValueType<T>(NSString)

Returns an NSData with the contents of a value type of type T associated with key.

(Inherited from DictionaryContainer)
GetNSDictionary(NSString)

Returns the nullable NSDictionary associated with key.

(Inherited from DictionaryContainer)
GetNSDictionary<TKey,TValue>(NSString)

Returns the nullable NSDictionary<TKey,TValue> associated with key.

(Inherited from DictionaryContainer)
GetNSStringValue(NSString)

Returns the nullable NSString associated with key.

(Inherited from DictionaryContainer)
GetNUIntValue(NSString)

Returns the nullable UIntPtr associated with the specified key.

(Inherited from DictionaryContainer)
GetSByteValue(NSString)

Returns the nullable SByte associated with the specified key.

(Inherited from DictionaryContainer)
GetStringArrayValue(NSString)

Returns the nullable string array associated with key.

(Inherited from DictionaryContainer)
GetStringValue(NSString)

Returns the nullable String associated with key.

(Inherited from DictionaryContainer)
GetStringValue(String)

Returns the nullable String associated with key.

(Inherited from DictionaryContainer)
GetStrongDictionary<T>(NSString, Func<NSDictionary,T>)

Returns the nullable T associated with key.

(Inherited from DictionaryContainer)
GetStrongDictionary<T>(NSString)

Returns the nullable T associated with key.

(Inherited from DictionaryContainer)
GetUIEdgeInsets(NSString)

Returns the nullable UIEdgeInsets associated with key.

(Inherited from DictionaryContainer)
GetUInt16Value(NSString)

Returns the nullable UInt16 associated with the specified key.

(Inherited from DictionaryContainer)
GetUInt32Value(NSString)

Returns the nullable UInt32 associated with the specified key.

(Inherited from DictionaryContainer)
GetUIntValue(NSString)

Returns the nullable UInt32 associated with the specified key.

(Inherited from DictionaryContainer)
GetULongValue(NSString)

Returns the nullable UInt64 associated with the specified key.

(Inherited from DictionaryContainer)
RemoveValue(NSString)

Removes from the dictionary the value associated with key.

(Inherited from DictionaryContainer)
SetArrayOfDictionariesValue(NSString, DictionaryContainer[])

Associates a DictionaryContainer array values with key.

(Inherited from DictionaryContainer)
SetArrayValue(NSString, INativeObject[])

Associates an array of INativeObject with key.

(Inherited from DictionaryContainer)
SetArrayValue(NSString, NSNumber[])

Associates the NSNumber array values with key.

(Inherited from DictionaryContainer)
SetArrayValue(NSString, String[])

Associates a string array with key.

(Inherited from DictionaryContainer)
SetArrayValue<T>(NSString, T[], Func<T,NativeHandle>)

Associates an array of T with key.

(Inherited from DictionaryContainer)
SetArrayValue<T>(NSString, T[])

Associates an array of T with key.

(Inherited from DictionaryContainer)
SetBooleanValue(NSString, Nullable<Boolean>)

Associates a nullable Boolean with key.

(Inherited from DictionaryContainer)
SetCGPointValue(NSString, Nullable<CGPoint>)

Associates a nullable CGPoint value with key.

(Inherited from DictionaryContainer)
SetCGRectValue(NSString, Nullable<CGRect>)

Associates a nullable CGRect value with key.

(Inherited from DictionaryContainer)
SetCGSizeValue(NSString, Nullable<CGSize>)

Associates a nullable CGSize value with key.

(Inherited from DictionaryContainer)
SetCMTimeValue(NSString, Nullable<CMTime>)

Associates a nullable CMTime value with key.

(Inherited from DictionaryContainer)
SetNativeValue(NSString, INativeObject, Boolean)

Associates a nullable INativeObject value with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Byte>)

Associates a nullable Byte with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Double>)

Associates a nullable Double with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Int16>)

Associates a nullable Int16 with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Int32>)

Associates a nullable Int32 with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Int64>)

Associates a nullable Int64 with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<IntPtr>)

Associates a nullable IntPtr with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<NFloat>)

Associates a nullable NFloat with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<SByte>)

Associates a nullable SByte with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Single>)

Associates a nullable Single with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<UInt16>)

Associates a nullable UInt16 with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<UInt32>)

Associates a nullable UInt32 with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<UInt64>)

Associates a nullable UInt64 with key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<UIntPtr>)

Associates a nullable UIntPtr with key.

(Inherited from DictionaryContainer)
SetStringValue(NSString, NSString)

Associates a nullable NSString with key.

(Inherited from DictionaryContainer)
SetStringValue(NSString, String)

Associates a nullable String with key.

(Inherited from DictionaryContainer)
SetUIEdgeInsets(NSString, Nullable<UIEdgeInsets>)

Associates a nullable UIEdgeInsets value with key.

(Inherited from DictionaryContainer)
SetValueTypeAsNSData<T>(NSString, Nullable<T>)

Sets an NSData with the contents of a value type of type T associated with key.

(Inherited from DictionaryContainer)
TryGetNativeValue(NSString, NativeHandle)

Returns the handle associated with key.

(Inherited from DictionaryContainer)
TryGetNSObject<T>(NSString, T)

Returns the nullable T associated with key.

(Inherited from DictionaryContainer)

Applies to