Struct Info |
|---|
struct HcMeshType 描述Mesh的数据结构。 |
Qualifier and Type |
Field and Description |
|---|---|
float* |
vertices 指向Mesh的顶点缓冲,顶点缓冲的位置属性(定义在local space下)为(x,y,z)或(x,y,z,w)方式紧密排布。 |
unsigned int |
nVertices Mesh的顶点数量。 |
void* |
indices 指向Mesh的顶点索引缓冲。 |
unsigned int |
nIndices Mesh顶点索引的数量。 |
float[4][4] |
localToClip 顶点从local space变换到clip space的变换矩阵,以列主序的方式存储。 localToClip = ProjectionMatrix * ViewMatrix * WorldMatrix |