/**
   * Notification that the construction phase of this node has finished. If the node would like to
   * do any internal processing, such as setting up geometry, then go for it now.
   */
  public void setupFinished() {
    if (!inSetup) return;

    super.setupFinished();

    int len = vfTexture.size();
    VRMLTextureNodeType tex;
    loaded = new boolean[len];

    for (int i = 0; i < len; i++) {
      tex = (VRMLTextureNodeType) vfTexture.get(i);
      tex.setupFinished();

      switch (tex.getTextureType()) {
        case TextureConstants.TYPE_SINGLE_2D:
          if (((VRMLTexture2DNodeType) tex).getImage() != null) loaded[i] = true;
          break;
        default:
          System.out.println("Unhandled texture type in BaseMultiTexture");
      }
    }

    inSetup = false;
  }