code: public AiTextureInfo getTextureInfo(AiTextureType type, int index) {
          return new AiTextureInfo(type, index, getTextureFile(type, index), 
                  getTextureUVIndex(type, index), getBlendFactor(type, index), 
                  getTextureOp(type, index), getTextureMapModeW(type, index), 
                  getTextureMapModeW(type, index), 
                  getTextureMapModeW(type, index));
      }
docs: Returns all information related to a single texture.
  
  @param type the texture type
  @param index the index in the texture stack
  @return the texture information