/** * Get a string for cacheing this object. Null means do not cache this texture. * * @param stage The stage number, 0 for all single stage textures. * @return A string to use in lookups. Typically the url loaded. */ public String getCacheString(int stage) { VRMLTextureNodeType tex = (VRMLTextureNodeType) vfTexture.get(stage); if (tex == null) return null; return tex.getCacheString(0); }