示例#1
0
 public void TestNullDevice()
 {
     using (InfraredFrameData frame = new InfraredFrameData())
     {
         using (ImmutableInfraredTexture texture = new ImmutableInfraredTexture(null, frame))
         {
         }
     }
 }
示例#2
0
 public void TestCreate()
 {
     using (InfraredFrameData frame = new InfraredFrameData())
     {
         using (ImmutableInfraredTexture texture = new ImmutableInfraredTexture(device, frame))
         {
             Assert.AreNotEqual(texture.ShaderView.NativePointer, IntPtr.Zero);
         }
     }
 }
示例#3
0
 public void TestNullFrame()
 {
     using (ImmutableInfraredTexture texture = new ImmutableInfraredTexture(device, null))
     {
     }
 }