# NIF File Format Documentation

NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

## MeshData

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
Stream | Ref<NiDataStream> |  |  |  |  | Reference to a data stream object which holds the data used by this reference. |  |
Is Per Instance | bool |  |  |  |  | Sets whether this stream data is per-instance data for use in hardware instancing. |  |
Num Submeshes | ushort |  |  |  |  | The number of submesh-to-region mappings that this data stream has. |  |
Submesh To Region Map | ushort |  | Num Submeshes |  |  |  |  |
Num Components | int |  |  |  |  | Unknown. |  |
Component Semantics | SemanticData |  | Num Components |  |  | Describes the semantic of each component. |  |

### Found In

- NiMesh