Issue #12: modified Texture interface