Home | History | Annotate | Download | only in model

Lines Matching refs:VertexBuffer

41 import com.jme3.scene.VertexBuffer;
42 import com.jme3.scene.VertexBuffer.Format;
43 import com.jme3.scene.VertexBuffer.Type;
44 import com.jme3.scene.VertexBuffer.Usage;
62 VertexBuffer positions = mesh.getBuffer(Type.Position);
63 VertexBuffer normals = mesh.getBuffer(Type.Normal);
64 VertexBuffer texcoords = mesh.getBuffer(Type.TexCoord);
65 VertexBuffer indices = mesh.getBuffer(Type.Index);
70 Buffer newBuf = VertexBuffer.createBuffer(posFmt, positions.getNumComponents(),
76 VertexBuffer newPosVb = new VertexBuffer(Type.Position);
91 normals = new VertexBuffer(Type.Normal);
100 Buffer newBuf = VertexBuffer.createBuffer(tcFmt,
105 VertexBuffer newTcVb = new VertexBuffer(Type.TexCoord);
117 VertexBuffer vb = mesh.getBuffer(Type.Index);
131 Buffer newBuf = VertexBuffer.createBuffer(targetFmt, vb.getNumComponents(), src.size());
133 VertexBuffer newVb = new VertexBuffer(Type.Index);
181 public static VertexBuffer convertToUByte(VertexBuffer vb){
186 VertexBuffer newVb = new VertexBuffer(vb.getBufferType());
195 public static VertexBuffer convertToFixed(VertexBuffer vb){
203 VertexBuffer newVb = new VertexBuffer(vb.getBufferType());
211 public static VertexBuffer convertToFloat(VertexBuffer vb){
219 VertexBuffer newVb = new VertexBuffer(vb.getBufferType());