added texture creation support