[Big?] Added support for 1d and 3d textures

Changed interface for RenderDataHandler's texture functions