Expand description
§Bindings to the ModelIO
framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- MDLAnimated
Matrix4x4 MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Quaternion MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Quaternion Array MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Scalar MDLAnimatedValueTypes
- AUTO-GENERATED FROM CodeGen.h
- MDLAnimated
Scalar Array MDLAnimatedValueTypes
- AUTO-GENERATED FROM CodeGenArray.h
- MDLAnimated
Value MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Value Interpolation MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Vector2 MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Vector3 MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Vector4 MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimated
Vector3 Array MDLAnimatedValueTypes
- Apple’s documentation
- MDLAnimation
Bind Component MDLAnimation
- Apple’s documentation
- MDLArea
Light MDLLight
andMDLObject
- Apple’s documentation
- MDLAsset
MDLAsset
- An MDLAsset represents the contents of a model file.
- MDLBundle
Asset Resolver MDLAssetResolver
- Apple’s documentation
- MDLCamera
MDLCamera
andMDLObject
- Apple’s documentation
- MDLCamera
Projection MDLCamera
- MDLCamera
- MDLCheckerboard
Texture MDLTexture
- MDLCheckerboardTexture A two color checkboard with a certain number of divisions
- MDLColor
Swatch Texture MDLTexture
- Apple’s documentation
- MDLData
Precision MDLTypes
- Apple’s documentation
- MDLGeometry
Type MDLTypes
- Apple’s documentation
- MDLIndex
BitDepth MDLTypes
- Apple’s documentation
- MDLLight
MDLLight
andMDLObject
- Apple’s documentation
- MDLLight
Probe MDLLight
andMDLObject
- Apple’s documentation
- MDLLight
Type MDLLight
- Apple’s documentation
- MDLMaterial
MDLMaterial
- Apple’s documentation
- MDLMaterial
Face MDLMaterial
- Apple’s documentation
- MDLMaterial
MipMap Filter Mode MDLMaterial
- Apple’s documentation
- MDLMaterial
Property MDLMaterial
- If a color is encoded in a floatN property, it is to be interpreted as a Rec 709 color.
- MDLMaterial
Property Connection MDLMaterial
- Apple’s documentation
- MDLMaterial
Property Graph MDLMaterial
- 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
- MDLMaterial
Property Node MDLMaterial
- Apple’s documentation
- MDLMaterial
Property Type MDLMaterial
- Apple’s documentation
- MDLMaterial
Semantic MDLMaterial
- MDLMaterialSemantic
- MDLMaterial
Texture Filter Mode MDLMaterial
- Apple’s documentation
- MDLMaterial
Texture Wrap Mode MDLMaterial
- Texture filtering
- MDLMatrix4x4
Array MDLValueTypes
- Apple’s documentation
- MDLMesh
MDLMesh
andMDLObject
- A vertex buffer with info to interpret vertex data
- MDLMesh
Buffer Data MDLMeshBuffer
- A CPU memory backed mesh buffer
- MDLMesh
Buffer Data Allocator MDLMeshBuffer
- An allocator to use when backing with an NSData is appropriate.
- MDLMesh
Buffer Map MDLMeshBuffer
- Represents a reference to memory of a mapped MeshBuffer
- MDLMesh
Buffer Type MDLMeshBuffer
- Type of data a MDLMeshBuffer has been allocated for
- MDLMesh
Buffer Zone Default MDLMeshBuffer
- A default zone that can be use for convenience
- MDLNoise
Texture MDLTexture
- MDLNoiseTexture a noise texture containing vector or scalar noise
- MDLNormal
MapTexture MDLTexture
- Apple’s documentation
- MDLObject
MDLObject
- Base class for object in a ModelIO asset hierarchy
- MDLObject
Container MDLObject
- Default container object
- MDLPacked
Joint Animation MDLAnimation
andMDLObject
- Apple’s documentation
- MDLPath
Asset Resolver MDLAssetResolver
- The path asset resolver searches for referenced files by prepending path.
- MDLPhotometric
Light MDLLight
andMDLObject
- A light created from measurements at various angles.
- MDLPhysically
Plausible Light MDLLight
andMDLObject
- A light with characteristics representing plausible real world lights
- MDLPhysically
Plausible Scattering Function MDLMaterial
- Apple’s documentation
- MDLProbe
Placement MDLTypes
- Apple’s documentation
- MDLRelative
Asset Resolver MDLAssetResolver
- The relative asset resolver searches for referenced files by checking the location of the asset for sibling files satisfying the requested name.
- MDLScattering
Function MDLMaterial
- 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.
- MDLSkeleton
MDLAnimation
andMDLObject
- Apple’s documentation
- MDLSky
Cube Texture MDLTexture
- MDLSkyCubeTexture A physically realistic sky as a cube texture
- MDLStereoscopic
Camera MDLCamera
andMDLObject
- Apple’s documentation
- MDLSubmesh
MDLSubmesh
- A drawable subset of an MDLMesh, with its own material
- MDLSubmesh
Topology MDLSubmesh
- Apple’s documentation
- MDLTexture
MDLTexture
- MDLTexture a description of texels provided by a texture object.
- MDLTexture
Channel Encoding MDLTexture
- The enoding of texel channel elements
- MDLTexture
Filter MDLMaterial
- Apple’s documentation
- MDLTexture
Sampler MDLMaterial
- Apple’s documentation
- MDLTransform
MDLTransform
- Concrete implementation of <MDLTransformComponent
- MDLTransform
Matrix Op MDLTransformStack
- Apple’s documentation
- MDLTransform
OpRotation Order MDLTransformStack
- Apple’s documentation
- MDLTransform
Orient Op MDLTransformStack
- Apple’s documentation
- MDLTransform
Rotate Op MDLTransformStack
- Apple’s documentation
- MDLTransform
RotateX Op MDLTransformStack
- Apple’s documentation
- MDLTransform
RotateY Op MDLTransformStack
- Apple’s documentation
- MDLTransform
RotateZ Op MDLTransformStack
- Apple’s documentation
- MDLTransform
Scale Op MDLTransformStack
- Apple’s documentation
- MDLTransform
Stack MDLTransformStack
- Apple’s documentation
- MDLTransform
Translate Op MDLTransformStack
- Apple’s documentation
- MDLURL
Texture MDLTexture
- MDLURLTexture a texture provider initialized with a URL or file path.
- MDLUtility
MDLUtility
- Apple’s documentation
- MDLVertex
Attribute MDLVertexDescriptor
- Structure with properties of a vertex attribute
- MDLVertex
Attribute Data MDLMesh
- convenience object to quickly access vertex attribute data
- MDLVertex
Buffer Layout MDLVertexDescriptor
- Describes a vertex buffer’s layout
- MDLVertex
Descriptor MDLVertexDescriptor
- Describes the layout of vertex buffers in MDLMesh objects
- MDLVertex
Format MDLVertexDescriptor
- Describes the format of a an attribute in a vertex buffer
- MDLVoxel
Array MDLObject
andMDLVoxelArray
- 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§
- MDLVertex
Attribute ⚠Anisotropy MDLVertexDescriptor
- The attribute data describes the degree to which a surface’s appearance changes in appearance when rotated about its normal vector.
- MDLVertex
Attribute ⚠Binormal MDLVertexDescriptor
- The normal to a curve at a vertex position
- MDLVertex
Attribute ⚠Bitangent MDLVertexDescriptor
- The vector completing a tangent basis at a vertex
- MDLVertex
Attribute ⚠Color MDLVertexDescriptor
- Color of a vertex
- MDLVertex
Attribute ⚠Edge Crease MDLVertexDescriptor
- A crease value along an edge to be applied during subdivision. A zero value indicates an edge is smooth, one is sharply creased.
- MDLVertex
Attribute ⚠Joint Indices MDLVertexDescriptor
- Indices of joints in an animation rig corresponding to weighting information
- MDLVertex
Attribute ⚠Joint Weights MDLVertexDescriptor
- Weights corresponding to joints for the purpose of blending animation
- MDLVertex
Attribute ⚠Normal MDLVertexDescriptor
- The direction of a normal at a vertex
- MDLVertex
Attribute ⚠Occlusion Value MDLVertexDescriptor
- A value indicating the degree to which a vertex is occluded by surrounding geometry
- MDLVertex
Attribute ⚠Position MDLVertexDescriptor
- The position of a vertex
- MDLVertex
Attribute ⚠Shading BasisU MDLVertexDescriptor
- The u direction of a shading basis at a vertex
- MDLVertex
Attribute ⚠Shading BasisV MDLVertexDescriptor
- The v direction of a shading basis at a vertex
- MDLVertex
Attribute ⚠Subdivision Stencil MDLVertexDescriptor
- Stencil values for subdivision at a vertex
- MDLVertex
Attribute ⚠Tangent MDLVertexDescriptor
- A vector tangent to a vertex
- MDLVertex
Attribute ⚠Texture Coordinate MDLVertexDescriptor
- Texture coordinate mapping at a vertex
- kUTType3d
Object ⚠MDLTypes
- Apple’s documentation
- kUTType
Alembic ⚠MDLTypes
- Apple’s documentation
- kUTType
Polygon ⚠MDLTypes
- Apple’s documentation
- kUTType
Stereolithography ⚠MDLTypes
- Apple’s documentation
- kUTType
Universal ⚠Scene Description MDLTypes
- Apple’s documentation
- kUTType
Universal ⚠Scene Description Mobile MDLTypes
- Apple’s documentation
Traits§
- MDLAsset
Resolver MDLAssetResolver
- Apple’s documentation
- MDLComponent
MDLTypes
- Apple’s documentation
- MDLJoint
Animation MDLAnimation
- Apple’s documentation
- MDLLight
Probe Irradiance Data Source MDLAsset
- Apple’s documentation
- MDLMesh
Buffer MDLMeshBuffer
- Used by ModelIO to represent a buffer to be filled with vertex and index data
- MDLMesh
Buffer Allocator MDLMeshBuffer
- Object for allocating buffers to back vertex and index data
- MDLMesh
Buffer Zone MDLMeshBuffer
- A reference to a logical pool of memory from which mesh buffers would be allocated
- MDLNamed
MDLTypes
- Apple’s documentation
- MDLObject
Container Component MDLTypes
- Apple’s documentation
- MDLTransform
Component MDLTransform
andMDLTypes
- MDLTransformComponent a container for a time sampled local transformation
- MDLTransform
Op MDLTransformStack
- Apple’s documentation