This removes a lot of heap allocations/deallocations, and reduces code size. Most improvements come from using CString and StaticString instead of std::string and better using move semantics.
Matinfo
matinfo lists the content of a compiled material as output by matc. This tool is meant to be
used for debug purpose only.
Usage
$ matinfo [options] <material file>