/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
D | ModelBuilder.java | 133 public void part (final MeshPart meshpart, final Material material) { in part() argument 135 node.parts.add(new NodePart(meshpart, material)); in part() 142 …nal String id, final Mesh mesh, int primitiveType, int offset, int size, final Material material) { in part() argument 149 part(meshPart, material); in part() 157 …public MeshPart part (final String id, final Mesh mesh, int primitiveType, final Material material… in part() argument 158 return part(id, mesh, primitiveType, 0, mesh.getNumIndices(), material); in part() 166 … (final String id, int primitiveType, final VertexAttributes attributes, final Material material) { in part() argument 168 part(builder.part(id, primitiveType), material); in part() local 179 …Builder part (final String id, int primitiveType, final long attributes, final Material material) { in part() argument 180 return part(id, primitiveType, MeshBuilder.createAttributes(attributes), material); in part() [all …]
|
D | DefaultRenderableSorter.java | 41 …final boolean b1 = o1.material.has(BlendingAttribute.Type) && ((BlendingAttribute)o1.material.get(… in compare() 42 …final boolean b2 = o2.material.has(BlendingAttribute.Type) && ((BlendingAttribute)o2.material.get(… in compare()
|
D | ShapeCache.java | 90 renderable.material = new Material(); in ShapeCache() 125 return renderable.material; in getMaterial()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/ |
D | NodePart.java | 33 public Material material; field in NodePart 51 public NodePart (final MeshPart meshPart, final Material material) { in NodePart() argument 53 this.material = material; in NodePart() 64 out.material = material; in setRenderable() 76 material = other.material; in set()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
D | MaterialTest.java | 51 Material material; field in MaterialTest 72 material = modelInstance.materials.get(0); in create() 111 if (!material.has(TextureAttribute.Diffuse)) in touchUp() 112 material.set(textureAttribute); in touchUp() 113 else if (!material.has(ColorAttribute.Diffuse)) in touchUp() 114 material.set(colorAttribute); in touchUp() 115 else if (!material.has(BlendingAttribute.Type)) in touchUp() 116 material.set(blendingAttribute); in touchUp() 118 material.clear(); in touchUp()
|
D | MeshBuilderTest.java | 54 Material material = new Material(TextureAttribute.createDiffuse(texture)); in create() local 68 | Usage.ColorPacked, material); in create() 74 | Usage.ColorPacked, material); in create() 79 | Usage.ColorPacked, material); in create() 85 | Usage.ColorPacked, material); in create() 90 mpb = modelBuilder.part("mesh", GL20.GL_TRIANGLES, mesh.getVertexAttributes(), material); in create()
|
D | ShaderTest.java | 123 withColor = renderable.material.has(ColorAttribute.Diffuse); in TestShader() 149 …return instance.material.has(TestAttribute.ID) && (instance.material.has(ColorAttribute.Diffuse) =… in canRender() 164 TestAttribute testAttr = (TestAttribute)renderable.material.get(TestAttribute.ID); in render() 168 ColorAttribute colorAttr = (ColorAttribute)renderable.material.get(ColorAttribute.Diffuse); in render() 199 if (renderable.material.has(TestAttribute.ID)) return new TestShader(renderable); in create()
|
D | MultipleRenderTargetTest.java | 382 if (renderable.material.has(TextureAttribute.Normal)) { in MRTShader() 392 renderable.material.set(tmpAttributes); in MRTShader() 411 return attributes == instance.material.getMask(); in canRender() 425 Material material = renderable.material; in render() local 427 TextureAttribute diffuseTexture = (TextureAttribute)material.get(TextureAttribute.Diffuse); in render() 428 TextureAttribute normalTexture = (TextureAttribute)material.get(TextureAttribute.Normal); in render() 429 TextureAttribute specTexture = (TextureAttribute)material.get(TextureAttribute.Specular); in render() 694 renderable.material = null; in obtain()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
D | BasicShapesTest.java | 41 …final Material material = new Material(TextureAttribute.createDiffuse(texture), ColorAttribute.cre… in create() local 45 final Model sphere = modelBuilder.createSphere(4f, 4f, 4f, 24, 24, material, attributes); in create() 49 final Model cylinder = modelBuilder.createCylinder(4f, 6f, 4f, 16, material, attributes); in create() 53 final Model capsule = modelBuilder.createCapsule(2f, 6f, 16, material, attributes); in create() 57 final Model box = modelBuilder.createBox(4f, 4f, 2f, material, attributes); in create() 61 final Model cone = modelBuilder.createCone(4f, 6f, 4f, 16, material, attributes); in create()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/ |
D | G3dModelLoader.java | 180 for (JsonValue material = materials.child; material != null; material = material.next) { in parseMaterials() 183 String id = material.getString("id", null); in parseMaterials() 189 final JsonValue diffuse = material.get("diffuse"); in parseMaterials() 191 final JsonValue ambient = material.get("ambient"); in parseMaterials() 193 final JsonValue emissive = material.get("emissive"); in parseMaterials() 195 final JsonValue specular = material.get("specular"); in parseMaterials() 197 final JsonValue reflection = material.get("reflection"); in parseMaterials() 200 jsonMaterial.shininess = material.getFloat("shininess", 0.0f); in parseMaterials() 202 jsonMaterial.opacity = material.getFloat("opacity", 1.0f); in parseMaterials() 205 JsonValue textures = material.get("textures"); in parseMaterials() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/ |
D | DecalMaterial.java | 54 DecalMaterial material = (DecalMaterial)o; in equals() 56 return dstBlendFactor == material.dstBlendFactor && srcBlendFactor == material.srcBlendFactor in equals() 57 && textureRegion.getTexture() == material.textureRegion.getTexture(); in equals()
|
D | Decal.java | 58 protected DecalMaterial material; field in Decal 62 this.material = new DecalMaterial(); in Decal() 65 public Decal (DecalMaterial material) { in Decal() argument 66 this.material = material; in Decal() 529 TextureRegion tr = material.textureRegion; in updateUVs() 548 this.material.textureRegion = textureRegion; in setTextureRegion() 554 return this.material.textureRegion; in getTextureRegion() 562 material.srcBlendFactor = srcBlendFactor; in setBlending() 563 material.dstBlendFactor = dstBlendFactor; in setBlending() 567 return material; in getMaterial() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
D | ModelCache.java | 155 final int mc = arg0.material.compareTo(arg1.material); in compare() 229 private Renderable obtainRenderable (Material material, int primitiveType) { in obtainRenderable() argument 233 result.material = material; in obtainRenderable() 262 Material material = first.material; in end() local 268 renderables.add(obtainRenderable(material, primitiveType)); in end() 273 final Material mat = renderable.material; in end() 278 final boolean samePart = sameMesh && pt == primitiveType && mat.same(material, true); in end() 295 renderables.add(obtainRenderable(material = mat, primitiveType = pt)); in end()
|
D | Renderable.java | 73 public Material material; field in Renderable 92 material = renderable.material; in set()
|
D | ModelInstance.java | 266 if (!materials.contains(part.material, true)) { in invalidate() 267 final int midx = materials.indexOf(part.material, false); in invalidate() 269 materials.add(part.material = part.material.copy()); in invalidate() 271 part.material = materials.get(midx); in invalidate() 439 Material material; in getMaterial() local 442 if ((material = materials.get(i)).id.equalsIgnoreCase(id)) return material; in getMaterial() 445 if ((material = materials.get(i)).id.equals(id)) return material; in getMaterial()
|
D | Model.java | 200 for (Material material : materials) { in loadNode() 201 if (modelNodePart.materialId.equals(material.id)) { in loadNode() 202 meshMaterial = material; in loadNode() 213 nodePart.material = meshMaterial; in loadNode() 425 Material material; in getMaterial() local 428 if ((material = materials.get(i)).id.equalsIgnoreCase(id)) return material; in getMaterial() 431 if ((material = materials.get(i)).id.equals(id)) return material; in getMaterial()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
D | keypair.py | 37 self.material = None 48 self.material = value 79 if self.material: 85 fp.write(self.material)
|
/external/v8/benchmarks/ |
D | raytrace.js | 420 initialize : function(pos, radius, material) { argument 423 this.material = material; 451 info.color = this.material.getColor(0,0); 472 initialize : function(pos, d, material) { argument 475 this.material = material; 499 if(this.material.hasTexture){ 504 info.color = this.material.getColor(u,v); 506 info.color = this.material.getColor(0,0); 713 var shininess = Math.pow(10, info.shape.material.gloss + 1); 744 if(this.options.renderReflections && info.shape.material.reflection > 0) [all …]
|
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_dump.c | 400 _debug_printf("\t\t.material.diffuse[0] = %f\n", (*cmd).material.diffuse[0]); in dump_SVGA3dCmdSetMaterial() 401 _debug_printf("\t\t.material.diffuse[1] = %f\n", (*cmd).material.diffuse[1]); in dump_SVGA3dCmdSetMaterial() 402 _debug_printf("\t\t.material.diffuse[2] = %f\n", (*cmd).material.diffuse[2]); in dump_SVGA3dCmdSetMaterial() 403 _debug_printf("\t\t.material.diffuse[3] = %f\n", (*cmd).material.diffuse[3]); in dump_SVGA3dCmdSetMaterial() 404 _debug_printf("\t\t.material.ambient[0] = %f\n", (*cmd).material.ambient[0]); in dump_SVGA3dCmdSetMaterial() 405 _debug_printf("\t\t.material.ambient[1] = %f\n", (*cmd).material.ambient[1]); in dump_SVGA3dCmdSetMaterial() 406 _debug_printf("\t\t.material.ambient[2] = %f\n", (*cmd).material.ambient[2]); in dump_SVGA3dCmdSetMaterial() 407 _debug_printf("\t\t.material.ambient[3] = %f\n", (*cmd).material.ambient[3]); in dump_SVGA3dCmdSetMaterial() 408 _debug_printf("\t\t.material.specular[0] = %f\n", (*cmd).material.specular[0]); in dump_SVGA3dCmdSetMaterial() 409 _debug_printf("\t\t.material.specular[1] = %f\n", (*cmd).material.specular[1]); in dump_SVGA3dCmdSetMaterial() [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/core-icons/ |
D | README.md | 7 Running `update-icons.sh` will checkout [material-design-icons](https://github.com/google/material-…
|
D | .gitignore | 2 material-design-icons
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
D | ParticleShader.java | 181 materialMask = renderable.material.getMask() | optionalAttributes; in ParticleShader() 229 return (materialMask == (renderable.material.getMask() | optionalAttributes)) && in canRender() 256 if (!renderable.material.has(BlendingAttribute.Type)) in render() 270 if (currentMaterial == renderable.material) in bindMaterial() 279 currentMaterial = renderable.material; in bindMaterial()
|
/external/chromium-trace/catapult/third_party/polymer/components/paper-spinner/ |
D | README.md | 4 A material-design circular activity indicator.
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/ |
D | BaseShader.java | 95 …final long matFlags = (renderable != null && renderable.material != null) ? renderable.material.ge… in validate() 231 if (renderable.material != null) combinedAttributes.set(renderable.material); in render()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
D | PointSpriteParticleBatch.java | 85 …renderable.material = new Material( new BlendingAttribute(GL20.GL_ONE, GL20.GL_ONE_MINUS_SRC_ALPHA… in allocRenderable() 91 TextureAttribute attribute = (TextureAttribute) renderable.material.get(TextureAttribute.Diffuse); in setTexture() 96 TextureAttribute attribute = (TextureAttribute) renderable.material.get(TextureAttribute.Diffuse); in getTexture()
|