/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
D | ParticlePointMesh.java | 37 import com.jme3.scene.VertexBuffer; 38 import com.jme3.scene.VertexBuffer.Format; 39 import com.jme3.scene.VertexBuffer.Usage; 65 VertexBuffer pvb = new VertexBuffer(VertexBuffer.Type.Position); in initParticleData() 69 VertexBuffer buf = getBuffer(VertexBuffer.Type.Position); in initParticleData() 78 VertexBuffer cvb = new VertexBuffer(VertexBuffer.Type.Color); in initParticleData() 82 buf = getBuffer(VertexBuffer.Type.Color); in initParticleData() 91 VertexBuffer svb = new VertexBuffer(VertexBuffer.Type.Size); in initParticleData() 94 buf = getBuffer(VertexBuffer.Type.Size); in initParticleData() 103 VertexBuffer tvb = new VertexBuffer(VertexBuffer.Type.TexCoord); in initParticleData() [all …]
|
D | ParticleTriMesh.java | 39 import com.jme3.scene.VertexBuffer; 40 import com.jme3.scene.VertexBuffer.Format; 41 import com.jme3.scene.VertexBuffer.Usage; 67 VertexBuffer pvb = new VertexBuffer(VertexBuffer.Type.Position); in initParticleData() 71 VertexBuffer buf = getBuffer(VertexBuffer.Type.Position); in initParticleData() 80 VertexBuffer cvb = new VertexBuffer(VertexBuffer.Type.Color); in initParticleData() 84 buf = getBuffer(VertexBuffer.Type.Color); in initParticleData() 92 VertexBuffer tvb = new VertexBuffer(VertexBuffer.Type.TexCoord); in initParticleData() 105 buf = getBuffer(VertexBuffer.Type.TexCoord); in initParticleData() 129 VertexBuffer ivb = new VertexBuffer(VertexBuffer.Type.Index); in initParticleData() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | Mesh.java | 46 import com.jme3.scene.VertexBuffer.Format; 47 import com.jme3.scene.VertexBuffer.Type; 48 import com.jme3.scene.VertexBuffer.Usage; 168 …private SafeArrayList<VertexBuffer> buffersList = new SafeArrayList<VertexBuffer>(VertexBuffer.cla… 169 private IntMap<VertexBuffer> buffers = new IntMap<VertexBuffer>(); 170 private VertexBuffer[] lodLevels; 205 clone.buffersList = new SafeArrayList<VertexBuffer>(VertexBuffer.class,buffersList); in clone() 235 clone.buffers = new IntMap<VertexBuffer>(); in deepClone() 236 clone.buffersList = new SafeArrayList<VertexBuffer>(VertexBuffer.class); in deepClone() 237 for (VertexBuffer vb : buffersList.getArray()){ in deepClone() [all …]
|
D | BatchNode.java | 148 VertexBuffer pvb = mesh.getBuffer(VertexBuffer.Type.Position); in updateSubBatch() 150 VertexBuffer nvb = mesh.getBuffer(VertexBuffer.Type.Normal); in updateSubBatch() 153 if (mesh.getBuffer(VertexBuffer.Type.Tangent) != null) { in updateSubBatch() 155 VertexBuffer tvb = mesh.getBuffer(VertexBuffer.Type.Tangent); in updateSubBatch() 374 int[] compsForBuf = new int[VertexBuffer.Type.values().length]; in mergeGeometries() 375 VertexBuffer.Format[] formatForBuf = new VertexBuffer.Format[compsForBuf.length]; in mergeGeometries() 412 for (VertexBuffer vb : geom.getMesh().getBufferList().getArray()) { in mergeGeometries() 422 compsForBuf[VertexBuffer.Type.Index.ordinal()] = components; in mergeGeometries() 429 formatForBuf[VertexBuffer.Type.Index.ordinal()] = VertexBuffer.Format.UnsignedInt; in mergeGeometries() 431 formatForBuf[VertexBuffer.Type.Index.ordinal()] = VertexBuffer.Format.UnsignedShort; in mergeGeometries() [all …]
|
D | VertexBuffer.java | 57 public class VertexBuffer extends NativeObject implements Savable, Cloneable { class 321 public VertexBuffer(Type type){ in VertexBuffer() method in VertexBuffer 322 super(VertexBuffer.class); in VertexBuffer() 329 public VertexBuffer(){ in VertexBuffer() method in VertexBuffer 330 super(VertexBuffer.class); in VertexBuffer() 333 protected VertexBuffer(int id){ in VertexBuffer() method in VertexBuffer 334 super(VertexBuffer.class, id); in VertexBuffer() 766 public void copyElement(int inIndex, VertexBuffer outVb, int outIndex){ in copyElement() 782 public void copyElements(int inIndex, VertexBuffer outVb, int outIndex, int len){ in copyElements() 883 public VertexBuffer clone(){ in clone() [all …]
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
D | FloatToFixed.java | 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); in convertToFixed() 63 VertexBuffer normals = mesh.getBuffer(Type.Normal); in convertToFixed() 64 VertexBuffer texcoords = mesh.getBuffer(Type.TexCoord); in convertToFixed() 65 VertexBuffer indices = mesh.getBuffer(Type.Index); in convertToFixed() 70 Buffer newBuf = VertexBuffer.createBuffer(posFmt, positions.getNumComponents(), in convertToFixed() 76 VertexBuffer newPosVb = new VertexBuffer(Type.Position); in convertToFixed() [all …]
|
D | ModelConverter.java | 37 import com.jme3.scene.VertexBuffer.Format; 38 import com.jme3.scene.VertexBuffer.Type; 84 VertexBuffer original = mesh.getBuffer(Type.Index); in generateStrips() 85 Buffer buf = VertexBuffer.createBuffer(original.getFormat(), in generateStrips() 139 IntMap<VertexBuffer> bufs = mesh.getBuffers(); in optimize() 140 for (Entry<VertexBuffer> entry : bufs){ in optimize() 141 VertexBuffer vb = entry.getValue(); in optimize()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
D | TriangleCollector.java | 38 import com.jme3.scene.VertexBuffer; 39 import com.jme3.scene.VertexBuffer.Type; 133 IntMap<VertexBuffer> bufs = in.getBuffers(); in gatherTris() 134 for (Entry<VertexBuffer> ent : bufs){ in gatherTris() 135 VertexBuffer vb = ent.getValue(); in gatherTris() 142 Buffer b = VertexBuffer.createBuffer(vb.getFormat(), in gatherTris() 146 VertexBuffer outVb = new VertexBuffer(vb.getBufferType()); in gatherTris() 193 IntMap<VertexBuffer> inbufs = in.getBuffers(); in gatherTris() 194 for (Entry<VertexBuffer> ent : inbufs){ in gatherTris() 195 VertexBuffer vb = ent.getValue(); in gatherTris() [all …]
|
D | GeometryBatchFactory.java | 9 import com.jme3.scene.VertexBuffer.Format; 10 import com.jme3.scene.VertexBuffer.Type; 11 import com.jme3.scene.VertexBuffer.Usage; 97 int[] compsForBuf = new int[VertexBuffer.Type.values().length]; in mergeGeometries() 133 for (VertexBuffer vb : geom.getMesh().getBufferList().getArray()){ in mergeGeometries() 163 data = VertexBuffer.createBuffer(formatForBuf[i], compsForBuf[i], totalTris); in mergeGeometries() 165 data = VertexBuffer.createBuffer(formatForBuf[i], compsForBuf[i], totalVerts); in mergeGeometries() 168 VertexBuffer vb = new VertexBuffer(Type.values()[i]); in mergeGeometries() 185 VertexBuffer inBuf = inMesh.getBuffer(Type.values()[bufType]); in mergeGeometries() 186 VertexBuffer outBuf = outMesh.getBuffer(Type.values()[bufType]); in mergeGeometries() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
D | SkeletonWire.java | 39 import com.jme3.scene.VertexBuffer; 40 import com.jme3.scene.VertexBuffer.Format; 41 import com.jme3.scene.VertexBuffer.Type; 42 import com.jme3.scene.VertexBuffer.Usage; 77 VertexBuffer pb = new VertexBuffer(Type.Position); in SkeletonWire() 82 VertexBuffer ib = new VertexBuffer(Type.Index); in SkeletonWire() 95 VertexBuffer vb = getBuffer(Type.Position); in updateGeometry()
|
D | SkeletonPoints.java | 39 import com.jme3.scene.VertexBuffer; 40 import com.jme3.scene.VertexBuffer.Format; 41 import com.jme3.scene.VertexBuffer.Type; 42 import com.jme3.scene.VertexBuffer.Usage; 55 VertexBuffer pb = new VertexBuffer(Type.Position); in SkeletonPoints() 66 VertexBuffer vb = getBuffer(Type.Position); in updateGeometry()
|
D | WireBox.java | 37 import com.jme3.scene.VertexBuffer; 38 import com.jme3.scene.VertexBuffer.Format; 39 import com.jme3.scene.VertexBuffer.Type; 40 import com.jme3.scene.VertexBuffer.Usage; 76 VertexBuffer pvb = getBuffer(Type.Position); in updatePositions() 79 pvb = new VertexBuffer(Type.Position); in updatePositions()
|
D | WireSphere.java | 38 import com.jme3.scene.VertexBuffer; 39 import com.jme3.scene.VertexBuffer.Format; 40 import com.jme3.scene.VertexBuffer.Type; 41 import com.jme3.scene.VertexBuffer.Usage; 83 VertexBuffer pvb = getBuffer(Type.Position); in updatePositions() 87 pvb = new VertexBuffer(Type.Position); in updatePositions()
|
D | WireFrustum.java | 37 import com.jme3.scene.VertexBuffer; 38 import com.jme3.scene.VertexBuffer.Type; 70 VertexBuffer vb = getBuffer(Type.Position); in update()
|
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
D | TestCustomAnim.java | 45 import com.jme3.scene.VertexBuffer; 46 import com.jme3.scene.VertexBuffer.Format; 47 import com.jme3.scene.VertexBuffer.Type; 48 import com.jme3.scene.VertexBuffer.Usage; 78 VertexBuffer weightsBuf = new VertexBuffer(Type.BoneWeight); in simpleInitApp() 84 VertexBuffer indicesBuf = new VertexBuffer(Type.BoneIndex); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
D | MeshLoader.java | 43 import com.jme3.scene.VertexBuffer.Format; 44 import com.jme3.scene.VertexBuffer.Type; 45 import com.jme3.scene.VertexBuffer.Usage; 95 private VertexBuffer vb; 111 private IntMap<List<VertexBuffer>> lodLevels = new IntMap<List<VertexBuffer>>(); 200 vb = new VertexBuffer(VertexBuffer.Type.Index); in startFaces() 381 VertexBuffer weights = new VertexBuffer(Type.BoneWeight); in startBoneAssigns() 382 VertexBuffer indices = new VertexBuffer(Type.BoneIndex); in startBoneAssigns() 394 vb = new VertexBuffer(Type.Position); in startVertexBuffer() 400 vb = new VertexBuffer(Type.Normal); in startVertexBuffer() [all …]
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
D | MeshContext.java | 5 import com.jme3.scene.VertexBuffer; 23 private Map<Geometry, VertexBuffer> uvCoordinates = new HashMap<Geometry, VertexBuffer>(); 91 public void addUVCoordinates(Geometry geometry, VertexBuffer vertexBuffer) { in addUVCoordinates() 102 public VertexBuffer getUVCoordinates(Geometry geometry) { in getUVCoordinates()
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | VertexBuffer.cpp | 18 unsigned int VertexBuffer::mNextSerial = 1; 20 VertexBuffer::VertexBuffer() in VertexBuffer() function in rx::VertexBuffer 25 VertexBuffer::~VertexBuffer() in ~VertexBuffer() 29 void VertexBuffer::updateSerial() in updateSerial() 34 unsigned int VertexBuffer::getSerial() const in getSerial() 183 VertexBuffer* VertexBufferInterface::getVertexBuffer() const in getVertexBuffer()
|
D | VertexBuffer.h | 24 class VertexBuffer 27 VertexBuffer(); 28 virtual ~VertexBuffer(); 51 DISALLOW_COPY_AND_ASSIGN(VertexBuffer); 74 VertexBuffer* getVertexBuffer() const; 91 VertexBuffer* mVertexBuffer;
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
D | TestTexture3D.java | 14 import com.jme3.scene.VertexBuffer; 15 import com.jme3.scene.VertexBuffer.Type; 16 import com.jme3.scene.VertexBuffer.Usage; 48 VertexBuffer vb = sphere.getBuffer(Type.Position); in simpleInitApp() 58 VertexBuffer uvCoordsBuffer = new VertexBuffer(Type.TexCoord); in simpleInitApp() 59 uvCoordsBuffer.setupData(Usage.Static, 3, com.jme3.scene.VertexBuffer.Format.Float, in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Curve.java | 37 import com.jme3.scene.VertexBuffer; 136 this.setBuffer(VertexBuffer.Type.Position, 3, array); in createCatmullRomMesh() 137 …this.setBuffer(VertexBuffer.Type.Index, 2, indices);//(spline.getControlPoints().size() - 1) * nbS… in createCatmullRomMesh() 188 this.setBuffer(VertexBuffer.Type.Position, 3, array); in createBezierMesh() 189 this.setBuffer(VertexBuffer.Type.Index, 2, indices); in createBezierMesh() 225 this.setBuffer(VertexBuffer.Type.Position, 3, array); in createNurbMesh() 226 this.setBuffer(VertexBuffer.Type.Index, 2, indices); in createNurbMesh() 258 this.setBuffer(VertexBuffer.Type.Position, 3, array); in createLinearMesh() 259 this.setBuffer(VertexBuffer.Type.Index, 2, indices); in createLinearMesh()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
D | UVCoordinatesGenerator.java | 41 import com.jme3.scene.VertexBuffer; 42 import com.jme3.scene.VertexBuffer.Format; 43 import com.jme3.scene.VertexBuffer.Usage; 98 …public static VertexBuffer generateUVCoordinates(int texco, int projection, int textureDimension, … in generateUVCoordinates() 103 VertexBuffer result = new VertexBuffer(VertexBuffer.Type.TexCoord); in generateUVCoordinates() 110 inputData = BufferUtils.getFloatArray(mesh.getFloatBuffer(VertexBuffer.Type.Position)); in generateUVCoordinates() 126 inputData = BufferUtils.getFloatArray(mesh.getFloatBuffer(VertexBuffer.Type.Normal)); in generateUVCoordinates() 189 mesh.clearBuffer(VertexBuffer.Type.TexCoord);// in case there are coordinates already set in generateUVCoordinates() 287 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); in getBoundingTube()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
D | ArmatureModifier.java | 22 import com.jme3.scene.VertexBuffer; 23 import com.jme3.scene.VertexBuffer.Format; 24 import com.jme3.scene.VertexBuffer.Type; 25 import com.jme3.scene.VertexBuffer.Usage; 67 private VertexBuffer verticesWeights; 69 private VertexBuffer verticesWeightsIndices; 240 …VertexBuffer[] boneWeightsAndIndex = this.getBoneWeightAndIndexBuffer(meshStructure, meshContext.g… in readVerticesWeightsData() 275 …private VertexBuffer[] getBoneWeightAndIndexBuffer(Structure meshStructure, int vertexListSize, in… in getBoneWeightAndIndexBuffer() 341 VertexBuffer verticesWeights = new VertexBuffer(Type.BoneWeight); in getBoneWeightAndIndexBuffer() 344 VertexBuffer verticesWeightsIndices = new VertexBuffer(Type.BoneIndex); in getBoneWeightAndIndexBuffer() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
D | BitmapTextPage.java | 37 import com.jme3.scene.VertexBuffer; 38 import com.jme3.scene.VertexBuffer.Type; 137 VertexBuffer pb = m.getBuffer(Type.Position); in assemble() 138 VertexBuffer tb = m.getBuffer(Type.TexCoord); in assemble() 139 VertexBuffer ib = m.getBuffer(Type.Index); in assemble() 140 VertexBuffer cb = m.getBuffer(Type.Color); in assemble()
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
D | SkeletonControl.java | 13 import com.jme3.scene.VertexBuffer.Type; 159 VertexBuffer bi = mesh.getBuffer(Type.BoneIndex); in resetToBind() 164 VertexBuffer bindPos = mesh.getBuffer(Type.BindPosePosition); in resetToBind() 165 VertexBuffer bindNorm = mesh.getBuffer(Type.BindPoseNormal); in resetToBind() 166 VertexBuffer pos = mesh.getBuffer(Type.Position); in resetToBind() 167 VertexBuffer norm = mesh.getBuffer(Type.Normal); in resetToBind() 178 VertexBuffer bindTangents = mesh.getBuffer(Type.BindPoseTangent); in resetToBind() 180 VertexBuffer tangents = mesh.getBuffer(Type.Tangent); in resetToBind() 280 VertexBuffer tb = mesh.getBuffer(Type.Tangent); in softwareSkinUpdate() 307 VertexBuffer vb = mesh.getBuffer(Type.Position); in applySkinning() [all …]
|