VTDecompressionSession.CopyBlackPixelBuffer(CVPixelBuffer) Method

Definition

Get a black pixel buffer from the session.

public VideoToolbox.VTStatus CopyBlackPixelBuffer(out CoreVideo.CVPixelBuffer? pixelBuffer);
member this.CopyBlackPixelBuffer : CVPixelBuffer -> VideoToolbox.VTStatus

Parameters

pixelBuffer
CVPixelBuffer

Upon return, the black pixel buffer if successful.

Returns

Ok if successful, or an error code otherwise.

Applies to