VertexFormat
类型
模块: cc
索引
属性(properties)
data
BufferRange
The data range of this bundle....formats
VertexFormat
The attribute formats.vertexBundleIndices
[Number]
The vertex bundle that the primitive use.data
BufferRange
The data range of the primitive....indexUnit
Number
The type of this primitive's indices.topology
Number
The 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 |