@Override synchronized void addAMirrorUser(Shape3DRetained shape) { super.addAMirrorUser(shape); ShaderAttributeRetained[] sAttrsRetained = new ShaderAttributeRetained[attrs.size()]; sAttrsRetained = attrs.values().toArray(sAttrsRetained); for(int i=0; i < sAttrsRetained.length; i++) { sAttrsRetained[i].addAMirrorUser(shape); } }
@Override synchronized void addAMirrorUser(Shape3DRetained shape) { super.addAMirrorUser(shape); if (texture != null) texture.addAMirrorUser(shape); if (texAttrs != null) texAttrs.addAMirrorUser(shape); if (texGen != null) texGen.addAMirrorUser(shape); }
@Override synchronized void addAMirrorUser(Shape3DRetained shape) { super.addAMirrorUser(shape); if (material != null) material.addAMirrorUser(shape); if (texture != null) texture.addAMirrorUser(shape); if (texCoordGeneration != null) texCoordGeneration.addAMirrorUser(shape); if (textureAttributes != null) textureAttributes.addAMirrorUser(shape); if (texUnitState != null) { for (int i = 0; i < texUnitState.length; i++) { if (texUnitState[i] != null) texUnitState[i].addAMirrorUser(shape); } } if (coloringAttributes != null) coloringAttributes.addAMirrorUser(shape); if (transparencyAttributes != null) transparencyAttributes.addAMirrorUser(shape); if (renderingAttributes != null) renderingAttributes.addAMirrorUser(shape); if (polygonAttributes != null) polygonAttributes.addAMirrorUser(shape); if (lineAttributes != null) lineAttributes.addAMirrorUser(shape); if (pointAttributes != null) pointAttributes.addAMirrorUser(shape); }