Example #1
0
    def test_structs(self):
        v = Metal.MTLSizeAndAlign()
        self.assertEqual(v.size, 0)
        self.assertEqual(v.align, 0)

        v = Metal.MTLAccelerationStructureSizes()
        self.assertEqual(v.accelerationStructureSize, 0)
        self.assertEqual(v.buildScratchBufferSize, 0)
        self.assertEqual(v.refitScratchBufferSize, 0)
Example #2
0
 def test_structs(self):
     v = Metal.MTLSizeAndAlign()
     self.assertEqual(v.size, 0)
     self.assertEqual(v.align, 0)