Add a missing `throw`.
Add an example of using 2d texture.
Merge pull request #10 from inmost-light/typo

Add a missing `throw`.
Merge pull request #11 from inmost-light/texture2d-example

Add an example of using 2d texture.