CVPixelBufferAttributes Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manages the attributes associated with CVPixelBuffer.
[ObjCRuntime.Watch(4, 0)]
public class CVPixelBufferAttributes : Foundation.DictionaryContainer
type CVPixelBufferAttributes = class
inherit DictionaryContainer
- Inheritance
- Derived
- Attributes
Remarks
Constructors
CVPixelBufferAttributes() |
Creates an empty set of attributes. |
CVPixelBufferAttributes(CVPixelFormatType, nint, nint) |
Constructor that creates a CVPixelBufferAttributes with preset values for the pixel format type, a width and a height. |
CVPixelBufferAttributes(NSDictionary) |
Initializes the strongly typed CVPixelBufferAttributes from the provided dictionary. |
Properties
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. |
PlaneAlignment |
Specifies the alignment of the planes within the buffer. |
Width |
The width of the pixel buffer. |
Methods
GetArray<T>(NSString, Func<IntPtr,T>) | (Inherited from DictionaryContainer) |
GetArray<T>(NSString) |
Retrieves the array of type |
GetBoolValue(NSString) |
Returns the nullable Boolean associated with |
GetCGPointValue(NSString) |
Returns the nullable CGPoint associated with |
GetCGRectValue(NSString) |
Returns the nullable NSString associated with |
GetCGSizeValue(NSString) |
Returns the nullable CGSize associated with |
GetCMTimeValue(NSString) |
Returns the nullable CMTime associated with |
GetDoubleValue(NSString) |
Returns the nullable double associated with |
GetFloatValue(NSString) |
Returns the nullable float associated with |
GetInt32Value(NSString) |
Returns the nullable int associated with |
GetLongValue(NSString) |
Returns the nullable long associated with |
GetNativeValue<T>(NSString) |
Returns the native object associated with |
GetNIntValue(NSString) |
Returns the nullable native integer associated with |
GetNSDictionary(NSString) |
Returns the NSDictionary associated with |
GetNSDictionary<TKey,TValue>(NSString) |
Returns the NSDictionary associated with |
GetNSStringValue(NSString) |
Returns the NSString associated with |
GetNUIntValue(NSString) |
Returns the nullable native unsigned int associated with |
GetStringValue(NSString) |
Returns the string associated with |
GetStringValue(String) |
Returns the string associated with |
GetStrongDictionary<T>(NSString) |
Returns the DictionaryContainer associated with |
GetUInt32Value(NSString) |
Returns the nullable T:System.UInt32 associated with |
GetUIntValue(NSString) |
Returns the nullable T:System.UInt32 associated with |
RemoveValue(NSString) |
Removes from the dictionary the value associated with |
SetArrayValue(NSString, INativeObject[]) |
Associates the INativeObject array |
SetArrayValue(NSString, NSNumber[]) |
Associates the NSNumber array |
SetArrayValue(NSString, String[]) |
Associates the T:System.String array |
SetArrayValue<T>(NSString, T[]) |
Associates the array |
SetBooleanValue(NSString, Nullable<Boolean>) |
Stores the Boolean |
SetCGPointValue(NSString, Nullable<CGPoint>) |
Stores the CGPoint |
SetCGRectValue(NSString, Nullable<CGRect>) |
Stores the CGRect |
SetCGSizeValue(NSString, Nullable<CGSize>) |
Stores the CGSize |
SetCMTimeValue(NSString, Nullable<CMTime>) |
Stores the CMTime |
SetNativeValue(NSString, INativeObject, Boolean) | (Inherited from DictionaryContainer) |
SetNumberValue(NSString, Nullable<Double>) |
Stores the double |
SetNumberValue(NSString, Nullable<Int32>) |
Stores the int |
SetNumberValue(NSString, Nullable<Int64>) |
Stores the long |
SetNumberValue(NSString, Nullable<nint>) |
Stores the native integer |
SetNumberValue(NSString, Nullable<nuint>) |
Stores the native unsigned int |
SetNumberValue(NSString, Nullable<Single>) |
Stores the float |
SetNumberValue(NSString, Nullable<UInt32>) |
Stores the unsigned int |
SetStringValue(NSString, NSString) |
Stores the string |
SetStringValue(NSString, String) |
Stores the string |