add texture2D support
Merge pull request #7 from MiniSongSong/working_branch

add texture2D support