Interface MTLBufferBinding

  • All Superinterfaces:
    MTLBinding

    public interface MTLBufferBinding
    extends MTLBinding
    API-Since: 16.0
    • Method Detail

      • bufferAlignment

        long bufferAlignment()
        min alignment of starting offset in the buffer
      • bufferDataSize

        long bufferDataSize()
        sizeof(T) for T *argName
      • bufferDataType

        long bufferDataType()
        MTLDataTypeFloat, MTLDataTypeFloat4, MTLDataTypeStruct, ...
      • bufferPointerType

        @Nullable
        @Nullable MTLPointerType bufferPointerType()
      • bufferStructType

        @Nullable
        @Nullable MTLStructType bufferStructType()