Class MetalPerformanceShaders

java.lang.Object
org.robovm.apple.foundation.CocoaUtility
org.robovm.apple.metalps.MetalPerformanceShaders

public class MetalPerformanceShaders
extends CocoaUtility
  • Constructor Details

    • MetalPerformanceShaders

      public MetalPerformanceShaders()
  • Method Details

    • getRectNoClip

      public static MTLRegion getRectNoClip()
      Since:
      Available in iOS 11.0 and later.
    • supportsMTLDevice

      public static boolean supportsMTLDevice​(MTLDevice device)
      Since:
      Available in iOS 9.0 and later.
    • hintTemporaryMemoryHighWaterMark

      public static void hintTemporaryMemoryHighWaterMark​(MTLCommandBuffer cmdBuf, long bytes)
    • setHeapCacheDuration

      public static void setHeapCacheDuration​(MTLCommandBuffer cmdBuf, double seconds)
    • getPreferredDevice

      public static MTLDevice getPreferredDevice​(MPSDeviceOptions options)
      Since:
      Available in iOS 12.2 and later.