Home
last modified time | relevance | path

Searched refs:newVb (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DFloatToFixed.java133 VertexBuffer newVb = new VertexBuffer(Type.Index); in compressIndexBuffer() local
134 newVb.setupData(vb.getUsage(), vb.getNumComponents(), targetFmt, newBuf); in compressIndexBuffer()
136 mesh.setBuffer(newVb); in compressIndexBuffer()
186 VertexBuffer newVb = new VertexBuffer(vb.getBufferType()); in convertToUByte() local
187 newVb.setupData(vb.getUsage(), in convertToUByte()
191 newVb.setNormalized(true); in convertToUByte()
192 return newVb; in convertToUByte()
203 VertexBuffer newVb = new VertexBuffer(vb.getBufferType()); in convertToFixed() local
204 newVb.setupData(vb.getUsage(), in convertToFixed()
208 return newVb; in convertToFixed()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java1135 VertexBuffer newVb = new VertexBuffer(oldVb.getBufferType()); in extractVertexData() local
1136 newVb.setNormalized(oldVb.isNormalized()); in extractVertexData()
1137 newVb.setupData(oldVb.getUsage(), oldVb.getNumComponents(), oldVb.getFormat(), buffer); in extractVertexData()
1145 oldVb.copyElement(oldIndex, newVb, i); in extractVertexData()
1149 clearBuffer(newVb.getBufferType()); in extractVertexData()
1150 setBuffer(newVb); in extractVertexData()