VertexFormat 类型
模块: cc
索引
属性(properties)
dataBufferRangeThe data range of this bundle....formatsVertexFormatThe attribute formats.vertexBundleIndices[Number]The vertex bundle that the primitive use.dataBufferRangeThe data range of the primitive....indexUnitNumberThe type of this primitive's indices.topologyNumberThe primitive's topology.
Details
属性(properties)
data
The data range of this bundle. This range of data is essentially mapped to a GPU vertex buffer.
| meta | description |
|---|---|
| 类型 | BufferRange |
| 定义于 | cocos2d/core/mesh/mesh-data.js:74 |
formats
The attribute formats.
| meta | description |
|---|---|
| 类型 | VertexFormat |
| 定义于 | cocos2d/core/mesh/mesh-data.js:83 |
vertexBundleIndices
The vertex bundle that the primitive use.
| meta | description |
|---|---|
| 类型 | [Number] |
| 定义于 | cocos2d/core/mesh/mesh-data.js:105 |
data
The data range of the primitive. This range of data is essentially mapped to a GPU indices buffer.
| meta | description |
|---|---|
| 类型 | BufferRange |
| 定义于 | cocos2d/core/mesh/mesh-data.js:113 |
indexUnit
The type of this primitive's indices.
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/mesh/mesh-data.js:122 |
topology
The primitive's topology.
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/mesh/mesh-data.js:127 |