Share via


DepthFrame.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 = depthFrame.lockImageBuffer();

Return value

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

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

DepthFrame Class
WindowsPreview.Kinect Namespace