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