Example #1
0
 public void TestCreate()
 {
     using (BodyJointOrientationBuffer buffer = new BodyJointOrientationBuffer(device))
     {
         Assert.AreNotEqual(buffer.ShaderView.NativePointer, IntPtr.Zero);
     }
 }
Example #2
0
 public void TestUploadEmpty()
 {
     using (BodyJointOrientationBuffer buffer = new BodyJointOrientationBuffer(device))
     {
         KinectBody[] empty = new KinectBody[0];
         buffer.Copy(device.ImmediateContext, empty);
     }
 }
Example #3
0
 public void TestNullDevice()
 {
     using (BodyJointOrientationBuffer texture = new BodyJointOrientationBuffer(null))
     {
     }
 }