Documentation Archive Developer
Search

ModelIO Changes for Objective-C

ModelIO

MDLAsset.h

MDLCamera.h

MDLLight.h

MDLMaterial.h

MDLMesh.h

Declaration
From
- (void)addTangentBasisForTextureCoordinateAttributeNamed:(NSString *)textureCoordinateAttributeName normalAttributeNamed:(NSString *)normalAttributeName tangentAttributeNamed:(NSString *)tangentAttributeName
To
- (void)addTangentBasisForTextureCoordinateAttributeNamed:(NSString *)textureCoordinateAttributeName normalAttributeNamed:(NSString *)normalAttributeNamed tangentAttributeNamed:(NSString *)tangentAttributeNamed

Declaration
From
- (void)addTangentBasisForTextureCoordinateAttributeNamed:(NSString *)textureCoordinateAttributeName tangentAttributeNamed:(NSString *)tangentAttributeName bitangentAttributeNamed:(NSString *)bitangentAttributeName
To
- (void)addTangentBasisForTextureCoordinateAttributeNamed:(NSString *)textureCoordinateAttributeName tangentAttributeNamed:(NSString *)tangentAttributeNamed bitangentAttributeNamed:(NSString *)bitangentAttributeName

DeclarationReadonly
From
@property(nonatomic, readonly, retain) NSMutableArray<MDLSubmesh *> *submeshes
yes
To
@property(nonatomic, copy) NSMutableArray<MDLSubmesh *> *submeshes
--

DeclarationReadonly
From
@property(nonatomic, readonly) NSUInteger vertexCount
yes
To
@property(nonatomic, readwrite) NSUInteger vertexCount
--

MDLObject.h

MDLSubmesh.h

MDLTexture.h

MDLTransform.h

MDLTypes.h

Removed MDLGeometryKindLines
Removed MDLGeometryKindPoints
Removed MDLGeometryKindQuads
Removed MDLGeometryKindTriangles
Removed MDLGeometryKindTriangleStrips

MDLVertexDescriptor.h

MDLVoxelArray.h