IIndexBuffer
概述
IIndexBuffer 是 Aspose.3D FOSS 中用于 .NET 的接口。继承自:IBuffer、IDisposable。
索引缓冲区描述了渲染管线中使用的几何体。
此接口提供了 4 个用于在 .NET 程序中处理 IIndexBuffer 对象的方法。可用的方法包括:LoadData。安装 Aspose.3D FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:Count、IndexDataType、Size。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
IndexDataType | IndexDataType | 读取 | 获取每个元素的数据类型。 |
Count | int | 读取 | 获取此缓冲区中的索引数量。 |
Size | int | 读取 | 此缓冲区的大小(字节) |
方法
| 签名 | 描述 |
|---|---|
LoadData(mesh: TriMesh) | 从加载指数数据 |
LoadData(indices: int[]) | 在此 IIndexBuffer 实例上调用 LoadData(indices)。 |
LoadData(indices: uint[]) | 在此 IIndexBuffer 实例上调用 LoadData(indices)。 |
LoadData(indices: short[]) | 在此 IIndexBuffer 实例上调用 LoadData(indices)。 |