BodyIndexFrame.LockImageBuffer Method

Gives an app access to the underlying buffer used by the system to store this frame's data.

Syntax

public:
IBuffer^ LockImageBuffer()
public IBufferLockImageBuffer ()
var iBuffer = bodyIndexFrame.lockImageBuffer();

Return value

Type: IBuffer
The image buffer.

Remarks

When you are finished reading the data, unlock the buffer.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

BodyIndexFrame Class
WindowsPreview.Kinect Namespace