CVPixelBufferPool.CreatePixelBuffer Method
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.
Overloads
CreatePixelBuffer() |
Creates a new CVPixelBuffer in the pool. |
CreatePixelBuffer(CVPixelBufferPoolAllocationSettings, CVReturn) |
Creates a new CVPixelBuffer in the pool. |
CreatePixelBuffer()
Creates a new CVPixelBuffer in the pool.
public CoreVideo.CVPixelBuffer CreatePixelBuffer ();
member this.CreatePixelBuffer : unit -> CoreVideo.CVPixelBuffer
Returns
The newly allocated CVPixelBuffer.
Applies to
CreatePixelBuffer(CVPixelBufferPoolAllocationSettings, CVReturn)
Creates a new CVPixelBuffer in the pool.
public CoreVideo.CVPixelBuffer CreatePixelBuffer (CoreVideo.CVPixelBufferPoolAllocationSettings allocationSettings, out CoreVideo.CVReturn error);
member this.CreatePixelBuffer : CoreVideo.CVPixelBufferPoolAllocationSettings * -> CoreVideo.CVPixelBuffer
Parameters
- allocationSettings
- CVPixelBufferPoolAllocationSettings
Allocation settings for creating this CVPixelBuffer.
- error
- CVReturn
Return error code
Returns
The newly allocated CVPixelBuffer.