IIndexBuffer
All Implemented Interfaces: com.aspose.threed.IBuffer
public interface IIndexBuffer extends IBuffer
مخزن الفهرس يصف الهندسة المستخدمة في أنابيب التصيير.
الطرق
| طريقة | الوصف |
|---|---|
| getCount() | الحصول على عدد الفهارس في هذا buffer. |
| getIndexDataType() | الحصول على نوع البيانات لكل عنصر. |
| loadData(TriMesh mesh) | تحميل بيانات الفهارس من TriMesh |
| loadData(int[] indices) | تحميل بيانات المؤشر |
| loadData(short[] indices) | تحميل بيانات المؤشر |
getCount()
public abstract int getCount()
الحصول على عدد الفهارس في هذا buffer.
Returns: int - عدد الفهارس في هذا المخزن المؤقت.
getIndexDataType()
public abstract IndexDataType getIndexDataType()
الحصول على نوع البيانات لكل عنصر.
Returns: IndexDataType - the data type of each element.
loadData(TriMesh mesh)
public abstract void loadData(TriMesh mesh)
تحميل بيانات الفهارس من TriMesh
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| mesh | TriMesh |
loadData(int[] indices)
public abstract void loadData(int[] indices)
تحميل بيانات المؤشر
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| indices | int[] |
loadData(short[] indices)
public abstract void loadData(short[] indices)
تحميل بيانات المؤشر
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| indices | short[] |