Microsoft.Samples.Kinect.RecordAndPlaybackBasics.KinectDepthView.RenderDepthPixels C# (CSharp) Method

RenderDepthPixels() private method

Renders color pixels into the writeableBitmap.
private RenderDepthPixels ( ) : void
return void
        private void RenderDepthPixels()
        {
            this.depthBitmap.WritePixels(
                new Int32Rect(0, 0, this.depthBitmap.PixelWidth, this.depthBitmap.PixelHeight),
                this.depthPixels,
                this.depthBitmap.PixelWidth,
                0);
        }