ModelIO Changes for Objective-C
ModelIO
MDLAsset.h
Added MDLAsset.masters
Added MDLAsset(MDLLightBaking)
MDLCamera.h
Added MDLCamera.projection
Added MDLCameraProjection
MDLLight.h
Added MDLLight.colorSpace
MDLMaterial.h
Added MDLMaterial.materialFace
Added MDLMaterialPropertyGraph
Added MDLMaterialPropertyNode
Added MDLMaterialFace
Added MDLMaterialFaceBack
Added MDLMaterialFaceFront
MDLMesh.h
Added MDLMesh.allocator
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 |
Modified MDLMesh.submeshes
Declaration | Readonly | |
---|---|---|
From | @property(nonatomic, readonly, retain) NSMutableArray<MDLSubmesh *> *submeshes | yes |
To | @property(nonatomic, copy) NSMutableArray<MDLSubmesh *> *submeshes | -- |
Modified MDLMesh.vertexCount
Declaration | Readonly | |
---|---|---|
From | @property(nonatomic, readonly) NSUInteger vertexCount | yes |
To | @property(nonatomic, readwrite) NSUInteger vertexCount | -- |
MDLObject.h
MDLSubmesh.h
MDLTexture.h
Added -[MDLTexture init]
MDLTransform.h
MDLTypes.h
Removed MDLGeometryKindLines
Removed MDLGeometryKindPoints
Removed MDLGeometryKindQuads
Removed MDLGeometryKindTriangles
Removed MDLGeometryKindTriangleStrips
MDLVertexDescriptor.h
MDLVoxelArray.h
Modified MDLVoxelArray
Superclasses | |
---|---|
From | NSObject |
To | MDLObject |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |