ColorFrame.LockRawImageBuffer Method
Gives an app access to the underlying buffer used by the system to store this frame's data.
Syntax
public:
IBuffer^ LockRawImageBuffer()
public IBufferLockRawImageBuffer ()
var iBuffer = colorFrame.lockRawImageBuffer();
Return value
Type: IBuffer
The buffer containing the raw image.
Remarks
When you are finished reading the data, unlock the buffer.
Requirements
Namespace: WindowsPreview.Kinect
Metadata: windowspreview.kinect.winmd