/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
WrappedIndexBuffer.java | 1 package com.jme3.scene.mesh; 3 import com.jme3.scene.Mesh; 4 import com.jme3.scene.Mesh.Mode; 12 * mesh mode such as {@link Mode#TriangleStrip} or {@link Mode#LineLoop} 16 * convoluting classes used to process mesh data from an external source. 24 public WrappedIndexBuffer(Mesh mesh){ 25 super(mesh.getVertexCount(), mesh.getMode()); 26 this.ib = mesh.getIndexBuffer() [all...] |
IndexBuffer.java | 33 package com.jme3.scene.mesh;
|
IndexByteBuffer.java | 33 package com.jme3.scene.mesh;
|
IndexIntBuffer.java | 33 package com.jme3.scene.mesh;
|
IndexShortBuffer.java | 33 package com.jme3.scene.mesh;
|
VirtualIndexBuffer.java | 1 package com.jme3.scene.mesh; 3 import com.jme3.scene.Mesh.Mode; 8 * based on a specific Mesh {@link Mode}. 9 * The generated indices are as if the mesh is in the given mode
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
ModelConverter.java | 35 import com.jme3.scene.Mesh.Mode; 39 import com.jme3.scene.mesh.IndexBuffer; 65 public static void generateStrips(Mesh mesh, boolean stitch, boolean listOnly, int cacheSize, int minStripSize){ 72 IndexBuffer ib = mesh.getIndicesAsList(); 84 VertexBuffer original = mesh.getBuffer(Type.Index); 89 ib = mesh.getIndexBuffer(); 113 mesh.setMode(Mode.TriangleStrip); 115 mesh.setElementLengths(elementLengths); 116 mesh.setModeStart(modeStart) 166 Mesh mesh = geom.getMesh(); local [all...] |
/frameworks/rs/driver/runtime/ |
rs_mesh.c | 6 * Mesh 10 Mesh_t *mesh = (Mesh_t *)m.p; local 11 if (mesh == NULL) { 14 return mesh->mHal.state.vertexBuffersCount; 19 Mesh_t *mesh = (Mesh_t *)m.p; local 20 if (mesh == NULL) { 23 return mesh->mHal.state.primitivesCount; 28 Mesh_t *mesh = (Mesh_t *)m.p; local 29 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) 39 Mesh_t *mesh = (Mesh_t *)m.p; local 50 Mesh_t *mesh = (Mesh_t *)m.p; local [all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
DebugShapeFactory.java | 39 import com.jme3.scene.Mesh; 112 public static Mesh getDebugMesh(CollisionShape shape) { 113 Mesh mesh = new Mesh(); local 114 mesh = new Mesh(); 117 mesh.setBuffer(Type.Position, 3, callback.getVertices()); 118 mesh.getFloatBuffer(Type.Position).clear(); 119 return mesh; [all...] |
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
MeshTest.java | 22 import android.renderscript.Mesh; 23 import android.renderscript.Mesh.Primitive; 24 import android.renderscript.Mesh.AllocationBuilder; 25 import android.renderscript.Mesh.Builder; 26 import android.renderscript.Mesh.TriangleMeshBuilder; 52 Mesh.AllocationBuilder mab; 54 mab = new Mesh.AllocationBuilder(mRS); 60 mab = new Mesh.AllocationBuilder(mRS); 67 Mesh mesh = mab.create() local 87 Mesh mesh = mb.create(); local [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
MeshContext.java | 11 * Class that holds information about the mesh.
16 /** The mesh stored here as a list of geometries. */
17 private List<Geometry> mesh;
field in class:MeshContext 26 * This method returns the referenced mesh.
28 * @return the referenced mesh
31 return mesh;
35 * This method sets the referenced mesh.
37 * @param mesh
38 * the referenced mesh
40 public void setMesh(List<Geometry> mesh) {
[all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
ParticlesModifier.java | 8 import com.jme3.scene.Mesh;
77 List<Mesh> meshes = new ArrayList<Mesh>();
80 Mesh mesh = ((Geometry) spatial).getMesh();
local 81 if (mesh != null) {
82 meshes.add(mesh);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
HullCollisionShape.java | 7 import com.jme3.scene.Mesh;
24 public HullCollisionShape(Mesh mesh) {
25 this.points = getPoints(mesh);
48 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null);
local 49 if (mesh != null) {
50 this.points = getPoints(mesh);
86 protected float[] getPoints(Mesh mesh) { [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
EmitterMeshFaceShape.java | 5 import com.jme3.scene.Mesh; 28 public EmitterMeshFaceShape(List<Mesh> meshes) { 33 public void setMeshes(List<Mesh> meshes) { 36 for (Mesh mesh : meshes) { 37 Vector3f[] vertexTable = BufferUtils.getVector3Array(mesh.getFloatBuffer(Type.Position)); 39 List<Vector3f> vertices = new ArrayList<Vector3f>(mesh.getTriangleCount() * 3); 40 List<Vector3f> normals = new ArrayList<Vector3f>(mesh.getTriangleCount()); 41 for (int i = 0; i < mesh.getTriangleCount(); ++i) { 42 mesh.getTriangle(i, indices) [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
HullCollisionShape.java | 10 import com.jme3.scene.Mesh; 23 public HullCollisionShape(Mesh mesh) { 24 this.points = getPoints(mesh); 47 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null); local 48 if (mesh != null) { 49 this.points = getPoints(mesh); 67 protected float[] getPoints(Mesh mesh) [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
GeometryBatchFactory.java | 7 import com.jme3.scene.Mesh.Mode; 12 import com.jme3.scene.mesh.IndexBuffer; 91 * the output mesh. Creates a new material using the TextureAtlas. 96 public static void mergeGeometries(Collection<Geometry> geometries, Mesh outMesh) { 177 Mesh inMesh = geom.getMesh(); 227 public static void makeLods(Collection<Geometry> geometries, Mesh outMesh) { 302 Mesh mesh = new Mesh(); local 303 mergeGeometries(geomsForMat, mesh); 397 Mesh mesh = new Mesh(); local [all...] |
TextureAtlas.java | 40 import com.jme3.scene.Mesh; 80 * <p>The TextureAtlas also allows you to change the texture coordinates of a mesh or geometry 421 * Applies the texture coordinates to the given output mesh 425 * @param outMesh The mesh to set the coords in (can be same as input). 428 public boolean applyCoords(Geometry geom, int offset, Mesh outMesh) { 429 Mesh inMesh = geom.getMesh(); 436 throw new IllegalStateException("Geometry mesh has no texture coordinate buffer."); 494 Mesh mesh = new Mesh(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11u.h | 80 struct mesh struct 90 mesh(ID3D11Device* dev, D3D11_PRIMITIVE_TOPOLOGY topology, function in struct:mesh 126 ~mesh() 157 mesh* create_tex_quad(ID3D11Device* dev, const BYTE* vs, unsigned vs_size) 172 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, 181 mesh* quad;
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
DebugShapeFactory.java | 44 import com.jme3.scene.Mesh; 122 public static Mesh getDebugMesh(CollisionShape shape) { 123 Mesh mesh = null; local 125 mesh = new Mesh(); 126 mesh.setBuffer(Type.Position, 3, getVertices((ConvexShape) shape.getCShape())); 127 mesh.getFloatBuffer(Type.Position).clear(); 129 mesh = new Mesh(); [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11u.h | 80 struct mesh struct 90 mesh(ID3D11Device* dev, D3D11_PRIMITIVE_TOPOLOGY topology, function in struct:mesh 126 ~mesh() 157 mesh* create_tex_quad(ID3D11Device* dev, const BYTE* vs, unsigned vs_size) 172 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, 181 mesh* quad;
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
ConstraintShrinkWrap.java | 11 import com.jme3.scene.Mesh;
49 //loading mesh points (blender ensures that the target is a mesh-object)
54 Mesh mesh = ((Geometry) spatial).getMesh();
local 55 FloatBuffer floatBuffer = mesh.getFloatBuffer(Type.Position);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVProjectionGenerator.java | 8 import com.jme3.scene.Mesh; 22 * @param mesh 23 * mesh that is to be projected 28 public static float[] flatProjection(Mesh mesh, BoundingBox bb) { 30 bb = UVCoordinatesGenerator.getBoundingBox(mesh); 34 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); 47 * @param mesh 48 * mesh that is to be projected 53 public static float[] cubeProjection(Mesh mesh, BoundingBox bb) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
LodControl.java | 45 import com.jme3.scene.Mesh; 127 Mesh mesh = geom.getMesh(); local 128 numLevels = mesh.getNumLodLevels(); 131 numTris[i] = mesh.getTriangleCount(i);
|
/frameworks/base/libs/hwui/ |
PatchCache.cpp | 168 * Sets the mesh's offsets and copies its associated vertices into 169 * the mesh buffer (VBO). 182 // Find a block where we can fit the mesh 186 // The mesh fits 203 // Copy the 9patch mesh in the VBO 229 const Patch* mesh = mCache.get(description); local 231 if (!mesh) { 256 return mesh;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_mesh.java | 22 import android.renderscript.Mesh.*; 27 Mesh mesh; field in class:UT_mesh 30 super(rstc, "Mesh", ctx); 41 Mesh.AllocationBuilder mBuilder = new Mesh.AllocationBuilder(RS);
|