Version: 2019.1

Description

Use 16 or 32 bit index buffer depending on mesh size.

Meshes that have less than 65536 vertices will use 16 bit index buffer, and larger meshes will use 32 bit one.

Note however that GPU support for 32 bit indices is not guaranteed on all platforms; for example Android devices with Mali-400 GPU do not support them. When using 32 bit indices on such a platform, a warning message will be logged and mesh will not render. If you need to use large meshes on such devices, set index format to UInt16, then the mesh will be split up into 64k vertex chunks at import time.

See Also: ModelImporter.indexFormat, Mesh.indexFormat.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961