IIndexBuffer

All Implemented Interfaces: com.aspose.threed.IBuffer

public interface IIndexBuffer extends IBuffer

인덱스 버퍼는 렌더링 파이프라인에서 사용되는 기하학을 설명합니다.

메서드

메서드설명
getCount()이 버퍼의 인덱스 수를 가져옵니다.
getIndexDataType()각 요소의 데이터 유형을 가져옵니다.
loadData(TriMesh mesh)TriMesh에서 인덱스 데이터를 로드합니다
loadData(int[] indices)인덱스 데이터를 로드합니다
loadData(short[] indices)인덱스 데이터를 로드합니다

getCount()

public abstract int getCount()

이 버퍼의 인덱스 수를 가져옵니다.

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:

매개변수형식설명
meshTriMesh

loadData(int[] indices)

public abstract void loadData(int[] indices)

인덱스 데이터를 로드합니다

Parameters:

매개변수형식설명
인덱스int[]

loadData(short[] indices)

public abstract void loadData(short[] indices)

인덱스 데이터를 로드합니다

Parameters:

매개변수형식설명
인덱스short[]