VertexFormat Class

Module: cc

Index

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
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

results matching ""

    No results matching ""