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