Metal tvOS 12.0 Beta 3 to Beta 4 API Differences

MTLArgument.h
Declaration
From@property (readonly, nonnull) MTLStructType *bufferStructType
To@property (readonly, nullable) MTLStructType *bufferStructType

MTLArgumentEncoder.h
Declaration
From- (void)setArgumentBuffer:(nonnull id<MTLBuffer>)argumentBuffer offset:(NSUInteger)offset
To- (void)setArgumentBuffer:(nullable id<MTLBuffer>)argumentBuffer offset:(NSUInteger)offset

MTLHeap.h
Declaration
From- (nonnull id<MTLBuffer>)newBufferWithLength:(NSUInteger)length options:(MTLResourceOptions)options
To- (nullable id<MTLBuffer>)newBufferWithLength:(NSUInteger)length options:(MTLResourceOptions)options

Declaration
From- (nonnull id<MTLTexture>)newTextureWithDescriptor:(nonnull MTLTextureDescriptor *)desc
To- (nullable id<MTLTexture>)newTextureWithDescriptor:(nonnull MTLTextureDescriptor *)desc

MTLIndirectCommandBuffer.h
Declaration
From- (id<MTLIndirectRenderCommand>)indirectRenderCommandAtIndex:(NSUInteger)commandIndex
To- (nonnull id<MTLIndirectRenderCommand>)indirectRenderCommandAtIndex:(NSUInteger)commandIndex

MTLLibrary.h
Declaration
From@property (readonly, nullable) NSString *name
To@property (readonly, nonnull) NSString *name

Declaration
From@property (readonly, nullable) NSString *name
To@property (readonly, nonnull) NSString *name