Home
last modified time | relevance | path

Searched refs:indexBuf (Results 1 – 6 of 6) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DSkeletonWire.java59 private void writeConnections(ShortBuffer indexBuf, Bone bone){ in writeConnections() argument
62 indexBuf.put( (short) skeleton.getBoneIndex(bone) ); in writeConnections()
64 indexBuf.put( (short) skeleton.getBoneIndex(child) ); in writeConnections()
66 writeConnections(indexBuf, child); in writeConnections()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DOGLESShaderRenderer.java2434 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { in drawTriangleList() argument
2440 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) { in drawTriangleList()
2444 if (indexBuf.isUpdateNeeded()) { in drawTriangleList()
2448 updateBufferData(indexBuf); in drawTriangleList()
2451 int bufId = indexBuf.getId(); in drawTriangleList()
2470 Buffer indexData = indexBuf.getData(); in drawTriangleList()
2477 int fmt = convertFormat(indexBuf.getFormat()); in drawTriangleList()
2478 int elSize = indexBuf.getFormat().getComponentSize(); in drawTriangleList()
2502 indexBuf.getData().position(curOffset); in drawTriangleList()
2507 GLES20.glDrawElements(elMode, elementLength, fmt, indexBuf.getData()); in drawTriangleList()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
DOBJLoader.java464 IndexBuffer indexBuf = null; in constructMesh() local
469 indexBuf = new IndexIntBuffer(ib); in constructMesh()
473 indexBuf = new IndexShortBuffer(sb); in constructMesh()
516 indexBuf.put(index, v0.index); in constructMesh()
517 indexBuf.put(index+1, v1.index); in constructMesh()
518 indexBuf.put(index+2, v2.index); in constructMesh()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglRenderer.java2222 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { in drawTriangleList() argument
2223 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) { in drawTriangleList()
2227 if (indexBuf.isUpdateNeeded()) { in drawTriangleList()
2228 updateBufferData(indexBuf); in drawTriangleList()
2231 int bufId = indexBuf.getId(); in drawTriangleList()
2250 int fmt = convertFormat(indexBuf.getFormat()); in drawTriangleList()
2251 int elSize = indexBuf.getFormat().getComponentSize(); in drawTriangleList()
2284 indexBuf.getData().limit(), in drawTriangleList()
2285 convertFormat(indexBuf.getFormat()), in drawTriangleList()
2292 indexBuf.getData().limit(), in drawTriangleList()
[all …]
DLwjglGL1Renderer.java995 public void drawTriangleList(VertexBuffer indexBuf, Mesh mesh, int count) { in drawTriangleList() argument
998 Buffer indexData = indexBuf.getData(); in drawTriangleList()
1031 convertVertexFormat(indexBuf.getFormat()), in drawTriangleList()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java1069 IndexBuffer indexBuf = getIndexBuffer(); in extractVertexData() local
1070 int numIndices = indexBuf.size(); in extractVertexData()
1077 int oldIndex = indexBuf.get(i); in extractVertexData()
1109 int oldIndex = indexBuf.get(i); in extractVertexData()