implemented more Purity::Texture functions