Beispiel #1
0
 public void SetUp()
 {
     TestRuntime.AssertXcodeVersion(9, 0);
     // The API here was introduced to Mac Catalyst later than for the other frameworks, so we have this additional check
     TestRuntime.AssertSystemVersion(PlatformName.MacCatalyst, 14, 0, throwIfOtherPlatform: false);
     descriptor = new MTLTileRenderPipelineColorAttachmentDescriptor();
 }
Beispiel #2
0
 public void TearDown()
 {
     if (descriptor != null)
     {
         descriptor.Dispose();
     }
     descriptor = null;
 }
 public void SetUp()
 {
     TestRuntime.AssertXcodeVersion(9, 0);
     descriptor = new MTLTileRenderPipelineColorAttachmentDescriptor();
 }