Home
last modified time | relevance | path

Searched refs:lodLevels (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DGeometryBatchFactory.java228 int lodLevels = 0; in makeLods() local
232 if (lodLevels == 0) { in makeLods()
233 lodLevels = g.getMesh().getNumLodLevels(); in makeLods()
236 lodSize = new int[lodLevels]; in makeLods()
238 for (int i = 0; i < lodLevels; i++) { in makeLods()
244 int[][] lodData = new int[lodLevels][]; in makeLods()
245 for (int i = 0; i < lodLevels; i++) { in makeLods()
248 VertexBuffer[] lods = new VertexBuffer[lodLevels]; in makeLods()
249 int bufferPos[] = new int[lodLevels]; in makeLods()
257 for (int i = 0; i < lodLevels; i++) { in makeLods()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java170 private VertexBuffer[] lodLevels; field in Mesh
380 public void setLodLevels(VertexBuffer[] lodLevels){ in setLodLevels() argument
381 this.lodLevels = lodLevels; in setLodLevels()
389 return lodLevels != null ? lodLevels.length : 0; in getNumLodLevels()
405 return lodLevels[lod]; in getLodLevel()
706 if (lodLevels != null){ in getTriangleCount()
710 if (lod >= lodLevels.length) in getTriangleCount()
713 return computeNumElements(lodLevels[lod].getData().capacity()); in getTriangleCount()
1282 out.write(lodLevels, "lodLevels", null); in write()
1307 lodLevels = new VertexBuffer[lodLevelsSavable.length]; in read()
[all …]
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMeshLoader.java111 private IntMap<List<VertexBuffer>> lodLevels = new IntMap<List<VertexBuffer>>(); field in MeshLoader
121 lodLevels.clear(); in startDocument()
532 List<VertexBuffer> levels = lodLevels.get(index); in startLodFaceList()
539 lodLevels.put(index, levels); in startLodFaceList()
550 for (Entry<List<VertexBuffer>> entry : lodLevels) { in endLevelOfDetail()