support texture 2d configuration