Class MTLFunctionType


  • public final class MTLFunctionType
    extends java.lang.Object
    [@enum] MTLFunctionType An identifier for a top-level Metal function. Each location in the API where a program is used requires a function written for that specific usage. [@constant] MTLFunctionTypeVertex A vertex shader, usable for a MTLRenderPipelineState. [@constant] MTLFunctionTypeFragment A fragment shader, usable for a MTLRenderPipelineState. [@constant] MTLFunctionTypeKernel A compute kernel, usable to create a MTLComputePipelineState. API-Since: 8.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Fragment
      API-Since: 8.0
      static long Intersection
      API-Since: 14.0
      static long Kernel
      API-Since: 8.0
      static long Mesh
      API-Since: 16.0
      static long Object
      API-Since: 16.0
      static long Vertex
      API-Since: 8.0
      static long Visible
      API-Since: 14.0
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait