Appearance
KBE3D / KBCore / Cesium / GeometryPipeline / reorderForPreVertexCache
函数: reorderForPreVertexCache()
Reorders a geometry's attributes and <code>indices</code> to achieve better performance from the GPU's pre-vertex-shader cache.
参数
geometry
The geometry to modify.
返回
The modified geometry argument, with its attributes and indices reordered for the GPU's pre-vertex-shader cache.
示例
ts
geometry = Cesium.GeometryPipeline.reorderForPreVertexCache(geometry);