Crate objc2_model_io

Source
Expand description

§Bindings to the ModelIO framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

MDLAnimatedMatrix4x4MDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedQuaternionMDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedQuaternionArrayMDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedScalarMDLAnimatedValueTypes
AUTO-GENERATED FROM CodeGen.h
MDLAnimatedScalarArrayMDLAnimatedValueTypes
AUTO-GENERATED FROM CodeGenArray.h
MDLAnimatedValueMDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedValueInterpolationMDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedVector2MDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedVector3MDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedVector4MDLAnimatedValueTypes
Apple’s documentation
MDLAnimatedVector3ArrayMDLAnimatedValueTypes
Apple’s documentation
MDLAnimationBindComponentMDLAnimation
Apple’s documentation
MDLAreaLightMDLLight and MDLObject
Apple’s documentation
MDLAssetMDLAsset
An MDLAsset represents the contents of a model file.
MDLBundleAssetResolverMDLAssetResolver
Apple’s documentation
MDLCameraMDLCamera and MDLObject
Apple’s documentation
MDLCameraProjectionMDLCamera
MDLCamera
MDLCheckerboardTextureMDLTexture
MDLCheckerboardTexture A two color checkboard with a certain number of divisions
MDLColorSwatchTextureMDLTexture
Apple’s documentation
MDLDataPrecisionMDLTypes
Apple’s documentation
MDLGeometryTypeMDLTypes
Apple’s documentation
MDLIndexBitDepthMDLTypes
Apple’s documentation
MDLLightMDLLight and MDLObject
Apple’s documentation
MDLLightProbeMDLLight and MDLObject
Apple’s documentation
MDLLightTypeMDLLight
Apple’s documentation
MDLMaterialMDLMaterial
Apple’s documentation
MDLMaterialFaceMDLMaterial
Apple’s documentation
MDLMaterialMipMapFilterModeMDLMaterial
Apple’s documentation
MDLMaterialPropertyMDLMaterial
If a color is encoded in a floatN property, it is to be interpreted as a Rec 709 color.
MDLMaterialPropertyConnectionMDLMaterial
Apple’s documentation
MDLMaterialPropertyGraphMDLMaterial
inputs and outputs will contain all of the inputs and outputs external to the graph, which are all the inputs and outputs not internally connected to something
MDLMaterialPropertyNodeMDLMaterial
Apple’s documentation
MDLMaterialPropertyTypeMDLMaterial
Apple’s documentation
MDLMaterialSemanticMDLMaterial
MDLMaterialSemantic
MDLMaterialTextureFilterModeMDLMaterial
Apple’s documentation
MDLMaterialTextureWrapModeMDLMaterial
Texture filtering
MDLMatrix4x4ArrayMDLValueTypes
Apple’s documentation
MDLMeshMDLMesh and MDLObject
A vertex buffer with info to interpret vertex data
MDLMeshBufferDataMDLMeshBuffer
A CPU memory backed mesh buffer
MDLMeshBufferDataAllocatorMDLMeshBuffer
An allocator to use when backing with an NSData is appropriate.
MDLMeshBufferMapMDLMeshBuffer
Represents a reference to memory of a mapped MeshBuffer
MDLMeshBufferTypeMDLMeshBuffer
Type of data a MDLMeshBuffer has been allocated for
MDLMeshBufferZoneDefaultMDLMeshBuffer
A default zone that can be use for convenience
MDLNoiseTextureMDLTexture
MDLNoiseTexture a noise texture containing vector or scalar noise
MDLNormalMapTextureMDLTexture
Apple’s documentation
MDLObjectMDLObject
Base class for object in a ModelIO asset hierarchy
MDLObjectContainerMDLObject
Default container object
MDLPackedJointAnimationMDLAnimation and MDLObject
Apple’s documentation
MDLPathAssetResolverMDLAssetResolver
The path asset resolver searches for referenced files by prepending path.
MDLPhotometricLightMDLLight and MDLObject
A light created from measurements at various angles.
MDLPhysicallyPlausibleLightMDLLight and MDLObject
A light with characteristics representing plausible real world lights
MDLPhysicallyPlausibleScatteringFunctionMDLMaterial
Apple’s documentation
MDLProbePlacementMDLTypes
Apple’s documentation
MDLRelativeAssetResolverMDLAssetResolver
The relative asset resolver searches for referenced files by checking the location of the asset for sibling files satisfying the requested name.
MDLScatteringFunctionMDLMaterial
The base scattering function is Lambertian, with a Blinn-Phong specular response. Specular power for Blinn-Phong can be derived from the roughness property using an approximation.
MDLSkeletonMDLAnimation and MDLObject
Apple’s documentation
MDLSkyCubeTextureMDLTexture
MDLSkyCubeTexture A physically realistic sky as a cube texture
MDLStereoscopicCameraMDLCamera and MDLObject
Apple’s documentation
MDLSubmeshMDLSubmesh
A drawable subset of an MDLMesh, with its own material
MDLSubmeshTopologyMDLSubmesh
Apple’s documentation
MDLTextureMDLTexture
MDLTexture a description of texels provided by a texture object.
MDLTextureChannelEncodingMDLTexture
The enoding of texel channel elements
MDLTextureFilterMDLMaterial
Apple’s documentation
MDLTextureSamplerMDLMaterial
Apple’s documentation
MDLTransformMDLTransform
Concrete implementation of <MDLTransformComponent
MDLTransformMatrixOpMDLTransformStack
Apple’s documentation
MDLTransformOpRotationOrderMDLTransformStack
Apple’s documentation
MDLTransformOrientOpMDLTransformStack
Apple’s documentation
MDLTransformRotateOpMDLTransformStack
Apple’s documentation
MDLTransformRotateXOpMDLTransformStack
Apple’s documentation
MDLTransformRotateYOpMDLTransformStack
Apple’s documentation
MDLTransformRotateZOpMDLTransformStack
Apple’s documentation
MDLTransformScaleOpMDLTransformStack
Apple’s documentation
MDLTransformStackMDLTransformStack
Apple’s documentation
MDLTransformTranslateOpMDLTransformStack
Apple’s documentation
MDLURLTextureMDLTexture
MDLURLTexture a texture provider initialized with a URL or file path.
MDLUtilityMDLUtility
Apple’s documentation
MDLVertexAttributeMDLVertexDescriptor
Structure with properties of a vertex attribute
MDLVertexAttributeDataMDLMesh
convenience object to quickly access vertex attribute data
MDLVertexBufferLayoutMDLVertexDescriptor
Describes a vertex buffer’s layout
MDLVertexDescriptorMDLVertexDescriptor
Describes the layout of vertex buffers in MDLMesh objects
MDLVertexFormatMDLVertexDescriptor
Describes the format of a an attribute in a vertex buffer
MDLVoxelArrayMDLObject and MDLVoxelArray
Voxel data represented on a three dimensional grid. Voxel data can include voxels considered to be on the surface of an object, and a series of shells on the outside and inside of the surface.

Statics§

MDLVertexAttributeAnisotropyMDLVertexDescriptor
The attribute data describes the degree to which a surface’s appearance changes in appearance when rotated about its normal vector.
MDLVertexAttributeBinormalMDLVertexDescriptor
The normal to a curve at a vertex position
MDLVertexAttributeBitangentMDLVertexDescriptor
The vector completing a tangent basis at a vertex
MDLVertexAttributeColorMDLVertexDescriptor
Color of a vertex
MDLVertexAttributeEdgeCreaseMDLVertexDescriptor
A crease value along an edge to be applied during subdivision. A zero value indicates an edge is smooth, one is sharply creased.
MDLVertexAttributeJointIndicesMDLVertexDescriptor
Indices of joints in an animation rig corresponding to weighting information
MDLVertexAttributeJointWeightsMDLVertexDescriptor
Weights corresponding to joints for the purpose of blending animation
MDLVertexAttributeNormalMDLVertexDescriptor
The direction of a normal at a vertex
MDLVertexAttributeOcclusionValueMDLVertexDescriptor
A value indicating the degree to which a vertex is occluded by surrounding geometry
MDLVertexAttributePositionMDLVertexDescriptor
The position of a vertex
MDLVertexAttributeShadingBasisUMDLVertexDescriptor
The u direction of a shading basis at a vertex
MDLVertexAttributeShadingBasisVMDLVertexDescriptor
The v direction of a shading basis at a vertex
MDLVertexAttributeSubdivisionStencilMDLVertexDescriptor
Stencil values for subdivision at a vertex
MDLVertexAttributeTangentMDLVertexDescriptor
A vector tangent to a vertex
MDLVertexAttributeTextureCoordinateMDLVertexDescriptor
Texture coordinate mapping at a vertex
kUTType3dObjectMDLTypes
Apple’s documentation
kUTTypeAlembicMDLTypes
Apple’s documentation
kUTTypePolygonMDLTypes
Apple’s documentation
kUTTypeStereolithographyMDLTypes
Apple’s documentation
kUTTypeUniversalSceneDescriptionMDLTypes
Apple’s documentation
kUTTypeUniversalSceneDescriptionMobileMDLTypes
Apple’s documentation

Traits§

MDLAssetResolverMDLAssetResolver
Apple’s documentation
MDLComponentMDLTypes
Apple’s documentation
MDLJointAnimationMDLAnimation
Apple’s documentation
MDLLightProbeIrradianceDataSourceMDLAsset
Apple’s documentation
MDLMeshBufferMDLMeshBuffer
Used by ModelIO to represent a buffer to be filled with vertex and index data
MDLMeshBufferAllocatorMDLMeshBuffer
Object for allocating buffers to back vertex and index data
MDLMeshBufferZoneMDLMeshBuffer
A reference to a logical pool of memory from which mesh buffers would be allocated
MDLNamedMDLTypes
Apple’s documentation
MDLObjectContainerComponentMDLTypes
Apple’s documentation
MDLTransformComponentMDLTransform and MDLTypes
MDLTransformComponent a container for a time sampled local transformation
MDLTransformOpMDLTransformStack
Apple’s documentation