/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
SoftBodyTest.java | 24 import com.badlogic.gdx.graphics.VertexAttribute; 95 mesh = new Mesh(false, vertCount, faceCount * 3, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), 96 new VertexAttribute(Usage.Normal, 3, ShaderProgram.NORMAL_ATTRIBUTE), new VertexAttribute(Usage.TextureCoordinates, 2,
|
MeshShapeTest.java | 21 import com.badlogic.gdx.graphics.VertexAttribute;
|
RayCastTest.java | 22 import com.badlogic.gdx.graphics.VertexAttribute;
|
ShootTest.java | 22 import com.badlogic.gdx.graphics.VertexAttribute;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/ |
DepthShader.java | 22 import com.badlogic.gdx.graphics.VertexAttribute;
98 final VertexAttribute attr = renderable.meshPart.mesh.getVertexAttributes().get(i);
133 final VertexAttribute attr = renderable.meshPart.mesh.getVertexAttributes().get(i);
|
BaseShader.java | 23 import com.badlogic.gdx.graphics.VertexAttribute;
196 final VertexAttribute attr = attrs.get(i);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
ShapeCache.java | 21 import com.badlogic.gdx.graphics.VertexAttribute; 71 this(5000, 5000, new VertexAttributes(new VertexAttribute(Usage.Position, 3, "a_position"), new VertexAttribute(
|
MeshBuilder.java | 22 import com.badlogic.gdx.graphics.VertexAttribute;
118 final Array<VertexAttribute> attrs = new Array<VertexAttribute>();
120 attrs.add(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE));
122 attrs.add(new VertexAttribute(Usage.ColorUnpacked, 4, ShaderProgram.COLOR_ATTRIBUTE));
124 attrs.add(new VertexAttribute(Usage.ColorPacked, 4, ShaderProgram.COLOR_ATTRIBUTE));
126 attrs.add(new VertexAttribute(Usage.Normal, 3, ShaderProgram.NORMAL_ATTRIBUTE));
128 attrs.add(new VertexAttribute(Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE + "0"));
129 final VertexAttribute attributes[] = new VertexAttribute[attrs.size]; [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
MipMapTest.java | 27 import com.badlogic.gdx.graphics.VertexAttribute;
65 mesh = new Mesh(true, 4, 4, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(
|
ProjectiveTextureTest.java | 28 import com.badlogic.gdx.graphics.VertexAttribute;
83 plane = new Mesh(true, 4, 6, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(
|
EarClippingTriangulatorTest.java | 28 import com.badlogic.gdx.graphics.VertexAttribute;
251 // new VertexAttribute(Usage.Position, 2, ShaderProgram.POSITION_ATTRIBUTE));
252 // VertexAttributes positionAndColor = new VertexAttributes(new VertexAttribute(Usage.Position, 2,
253 // ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(Usage.Color, 4, ShaderProgram.COLOR_ATTRIBUTE));
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
TextureArrayTest.java | 28 import com.badlogic.gdx.graphics.VertexAttribute; 74 terrain = new Mesh(false, vertexCount * 6, 0, new VertexAttributes(VertexAttribute.Position(), new VertexAttribute(VertexAttributes.Usage.TextureCoordinates, 3, ShaderProgram.TEXCOORD_ATTRIBUTE + 0)));
|
MeshBuilderTest.java | 10 import com.badlogic.gdx.graphics.VertexAttribute;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/ |
GwtTest.java | 31 import com.badlogic.gdx.graphics.VertexAttribute;
66 mesh = new Mesh(VertexDataType.VertexBufferObject, true, 6, 0, VertexAttribute.Position(), VertexAttribute.TexCoords(0));
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ImageShader.java | 56 private HashMap<String, VertexAttribute> mAttributes = new HashMap<String, VertexAttribute>(); 77 private static class VertexAttribute { 90 public VertexAttribute(String name, int index) { 401 VertexAttribute attr = getProgramAttribute(attributeName, true); 407 VertexAttribute attr = getProgramAttribute(attributeName, true); 632 for (VertexAttribute attr : mAttributes.values()) { 642 VertexAttribute attr = getProgramAttribute(texCoordAttributeName(), false); 654 VertexAttribute attr = getProgramAttribute(positionAttributeName(), false); 759 private VertexAttribute getProgramAttribute(String name, boolean required) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
Mesh.java | 93 * @param attributes the {@link VertexAttribute}s. Each vertex attribute defines one property of a vertex such as position,
95 public Mesh (boolean isStatic, int maxVertices, int maxIndices, VertexAttribute... attributes) {
150 * @param attributes the {@link VertexAttribute}s. Each vertex attribute defines one property of a vertex such as position,
152 public Mesh (VertexDataType type, boolean isStatic, int maxVertices, int maxIndices, VertexAttribute... attributes) {
409 * the respective shader attributes. The binding is based on the alias defined for each VertexAttribute.
433 * the respective shader attributes. The binding is based on the alias defined for each VertexAttribute.
460 * the respective shader attributes. The binding is based on the alias defined for each VertexAttribute.
511 /** Returns the first {@link VertexAttribute} having the given {@link Usage}.
514 * @return the VertexAttribute or null if no attribute with that usage was found. */
515 public VertexAttribute getVertexAttribute (int usage) { [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
BillboardParticleBatch.java | 7 import com.badlogic.gdx.graphics.VertexAttribute; 45 GPU_ATTRIBUTES = new VertexAttributes(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), 46 new VertexAttribute(Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE+"0"), 47 new VertexAttribute(Usage.ColorUnpacked, 4, ShaderProgram.COLOR_ATTRIBUTE), 48 new VertexAttribute(sizeAndRotationUsage, 4, "a_sizeAndRotation")), 50 GPU_EXT_ATTRIBUTES = new VertexAttributes(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), 51 new VertexAttribute(Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE+"0"), 52 new VertexAttribute(Usage.Color, 4, ShaderProgram.COLOR_ATTRIBUTE), 53 new VertexAttribute(sizeAndRotationUsage, 4, "a_sizeAndRotation"), 54 new VertexAttribute(directionUsage, 3, "a_direction")) [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/ |
VoxelWorld.java | 21 import com.badlogic.gdx.graphics.VertexAttribute;
86 * CHUNK_SIZE_Z * 36 / 3, VertexAttribute.Position(), VertexAttribute.Normal());
|
/external/deqp/modules/gles3/functional/ |
es3fFboTestUtil.cpp | 79 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) 153 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) 154 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) 277 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT); 278 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT); 424 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) 425 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) 562 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) 563 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) 670 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/ |
ObjLoader.java | 30 import com.badlogic.gdx.graphics.VertexAttribute; 241 Array<VertexAttribute> attributes = new Array<VertexAttribute>(); 242 attributes.add(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE)); 243 if (hasNorms) attributes.add(new VertexAttribute(Usage.Normal, 3, ShaderProgram.NORMAL_ATTRIBUTE)); 244 if (hasUVs) attributes.add(new VertexAttribute(Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE + "0")); 266 mesh.attributes = attributes.toArray(VertexAttribute.class);
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
btIndexedMesh.java | 14 import com.badlogic.gdx.graphics.VertexAttribute; 183 VertexAttribute posAttr = mesh.getVertexAttribute(Usage.Position);
|
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.cpp | 120 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT); 121 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT); 267 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) 268 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT)
|
/external/libgdx/extensions/gdx-bullet/jni/swig/collision/ |
btTriangleIndexVertexArray.i | 33 import com.badlogic.gdx.graphics.VertexAttribute; 161 VertexAttribute posAttr = mesh.getVertexAttribute(Usage.Position);
|
/external/deqp/framework/opengl/simplereference/ |
sglrShaderProgram.cpp | 39 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const VertexAttribute& v)
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gwtref/ |
GwtReflect.gwt.xml | 38 value="com.badlogic.gdx.graphics.VertexAttribute" />
|