Share via


InfraredFrame.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 = infraredFrame.lockImageBuffer();

Return value

Type: IBuffer
The underlying buffer used by the system to store this frame's data.

Remarks

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

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

InfraredFrame Class
WindowsPreview.Kinect Namespace