Class MTLFunction

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public final class MTLFunction
extends NSObject
implements NSObjectProtocol
  • Constructor Details

    • MTLFunction

      public MTLFunction()
  • Method Details

    • getLabel

      public String getLabel()
      Since:
      Available in iOS 10.0 and later.
    • setLabel

      public void setLabel​(String v)
      Since:
      Available in iOS 10.0 and later.
    • getDevice

      public MTLDevice getDevice()
    • getFunctionType

      public MTLFunctionType getFunctionType()
    • getPatchType

      public MTLPatchType getPatchType()
      Since:
      Available in iOS 10.0 and later.
    • getPatchControlPointCount

      public long getPatchControlPointCount()
      Since:
      Available in iOS 10.0 and later.
    • getVertexAttributes

      public NSArray<MTLVertexAttribute> getVertexAttributes()
    • getStageInputAttributes

      public NSArray<MTLAttribute> getStageInputAttributes()
      Since:
      Available in iOS 10.0 and later.
    • getName

      public String getName()
    • getFunctionConstantsDictionary

      public NSDictionary<NSString,​MTLFunctionConstant> getFunctionConstantsDictionary()
      Since:
      Available in iOS 10.0 and later.
    • getOptions

      public MTLFunctionOptions getOptions()
      Since:
      Available in iOS 14.0 and later.
    • newArgumentEncoder

      public MTLArgumentEncoder newArgumentEncoder​(long bufferIndex)
      Since:
      Available in iOS 11.0 and later.
    • newArgumentEncoder

      public MTLArgumentEncoder newArgumentEncoder​(long bufferIndex, MTLArgument.MTLArgumentPtr reflection)
      Since:
      Available in iOS 11.0 and later.