implemented own getter for textures array