Contains all the Texture2D extension methods with respect to drawing on a texture.
Contains methods to get friendly, human-readable type names even when using generics.
Original source: https://stackoverflow.com/a/41961738
Modified to be able to either use name or fullname and to adhere better to the coding style of this project. Added some comments.