MonobjcMonobjc Documented Class Library
Create Method (allocator, width, height, pixelFormatType, pixelBufferAttributes, pixelBufferOut)
NamespacesMonobjc.QuartzCoreCVPixelBufferCreate(IntPtr, NSUInteger, NSUInteger, UInt32, NSDictionary, IntPtr)

Creates a single pixel buffer for a given size and pixel format.

Original signature is 'CVReturn CVPixelBufferCreate ( CFAllocatorRef allocator, size_t width, size_t height, OSType pixelFormatType, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef *pixelBufferOut );'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static int Create(
	IntPtr allocator,
	NSUInteger width,
	NSUInteger height,
	uint pixelFormatType,
	NSDictionary pixelBufferAttributes,
	IntPtr pixelBufferOut
)
Public Shared Function Create ( _
	allocator As IntPtr, _
	width As NSUInteger, _
	height As NSUInteger, _
	pixelFormatType As UInteger, _
	pixelBufferAttributes As NSDictionary, _
	pixelBufferOut As IntPtr _
) As Integer
public:
static int Create(
	IntPtr allocator, 
	NSUInteger width, 
	NSUInteger height, 
	unsigned int pixelFormatType, 
	NSDictionary^ pixelBufferAttributes, 
	IntPtr pixelBufferOut
)
Parameters
allocator (IntPtr)
MISSING
width (NSUInteger)
MISSING
height (NSUInteger)
MISSING
pixelFormatType (UInt32)
MISSING
pixelBufferAttributes (NSDictionary)
MISSING
pixelBufferOut (IntPtr)
MISSING
Return Value
A Core Video result code. See Core Video Constants Reference for possible values.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)