VertexFormat Class
Module: cc
Index
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 |
|---|---|
| Type | BufferRange |
| Defined in | cocos2d/core/mesh/mesh-data.js:74 |
formats
The attribute formats.
| meta | description |
|---|---|
| Type | VertexFormat |
| Defined in | cocos2d/core/mesh/mesh-data.js:83 |
vertexBundleIndices
The vertex bundle that the primitive use.
| meta | description |
|---|---|
| Type | [Number] |
| Defined in | 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 |
|---|---|
| Type | BufferRange |
| Defined in | cocos2d/core/mesh/mesh-data.js:113 |
indexUnit
The type of this primitive's indices.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/mesh/mesh-data.js:122 |
topology
The primitive's topology.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/mesh/mesh-data.js:127 |